@uniswap/client-data-api 0.0.133 → 0.0.134
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.
|
@@ -464,6 +464,22 @@ export declare class Pool extends Message<Pool> {
|
|
|
464
464
|
* @generated from field: optional double volume_30d = 17;
|
|
465
465
|
*/
|
|
466
466
|
volume30d?: number;
|
|
467
|
+
/**
|
|
468
|
+
* Protocol fee, same unit as `fee` (pips). v4: ADDITIVE on top of `fee`;
|
|
469
|
+
* v2/v3: SUBTRACTIVE share of `fee` (distinguish by protocol_version).
|
|
470
|
+
* Optional: unset when there's no on-chain value; a set 0 means off.
|
|
471
|
+
*
|
|
472
|
+
* @generated from field: optional uint32 protocol_fee = 18;
|
|
473
|
+
*/
|
|
474
|
+
protocolFee?: number;
|
|
475
|
+
/**
|
|
476
|
+
* Effective (all-in) fee, same unit as `fee` (pips). v4: fee + protocol_fee;
|
|
477
|
+
* v2/v3: equals `fee`. Optional: unset when protocol_fee is unavailable and
|
|
478
|
+
* for v4 dynamic-fee pools (LP fee is per-swap).
|
|
479
|
+
*
|
|
480
|
+
* @generated from field: optional uint32 effective_fee = 19;
|
|
481
|
+
*/
|
|
482
|
+
effectiveFee?: number;
|
|
467
483
|
constructor(data?: PartialMessage<Pool>);
|
|
468
484
|
static readonly runtime: typeof proto3;
|
|
469
485
|
static readonly typeName = "pools.v1.Pool";
|
|
@@ -587,6 +587,8 @@ Pool.fields = proto3.util.newFieldList(() => [
|
|
|
587
587
|
{ no: 15, name: "boosted_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
588
588
|
{ no: 16, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
589
589
|
{ no: 17, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
590
|
+
{ no: 18, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
591
|
+
{ no: 19, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
590
592
|
]);
|
|
591
593
|
/**
|
|
592
594
|
* @generated from message pools.v1.Pair
|