@uniswap/client-liquidity 1.4.13 → 1.4.14
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.
|
@@ -872,8 +872,8 @@ export declare class ListPoolsResponse extends Message<ListPoolsResponse> {
|
|
|
872
872
|
}
|
|
873
873
|
/**
|
|
874
874
|
* GetPool — unified V2/V3/V4 pool details for the Pool Details Page.
|
|
875
|
-
* Responses reuse PoolSummary (same shape as ListPools rows, TVL included)
|
|
876
|
-
*
|
|
875
|
+
* Responses reuse PoolSummary (same shape as ListPools rows, TVL included),
|
|
876
|
+
* enriched with 1d TVL/volume change from the ClickHouse pool-stat history.
|
|
877
877
|
*
|
|
878
878
|
* @generated from message uniswap.liquidity.v2.GetPoolRequest
|
|
879
879
|
*/
|
|
@@ -836,8 +836,8 @@ ListPoolsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
836
836
|
]);
|
|
837
837
|
/**
|
|
838
838
|
* GetPool — unified V2/V3/V4 pool details for the Pool Details Page.
|
|
839
|
-
* Responses reuse PoolSummary (same shape as ListPools rows, TVL included)
|
|
840
|
-
*
|
|
839
|
+
* Responses reuse PoolSummary (same shape as ListPools rows, TVL included),
|
|
840
|
+
* enriched with 1d TVL/volume change from the ClickHouse pool-stat history.
|
|
841
841
|
*
|
|
842
842
|
* @generated from message uniswap.liquidity.v2.GetPoolRequest
|
|
843
843
|
*/
|
|
@@ -796,6 +796,20 @@ export declare class PoolSummary extends Message<PoolSummary> {
|
|
|
796
796
|
* @generated from field: repeated uniswap.liquidity.v2.RewardsCampaign rewards_campaigns = 25;
|
|
797
797
|
*/
|
|
798
798
|
rewardsCampaigns: RewardsCampaign[];
|
|
799
|
+
/**
|
|
800
|
+
* Day-over-day change in TVL and 1d-volume, as a signed percentage (e.g. 5.2
|
|
801
|
+
* = +5.2%). Composed at read time from the ClickHouse pool-stat history
|
|
802
|
+
* (current value vs the latest point in the [T-36h, T-24h] band). Absent when
|
|
803
|
+
* the pool has no comparable prior point, the previous value is 0, or the
|
|
804
|
+
* ClickHouse read degrades — best-effort, never fails the pool read.
|
|
805
|
+
*
|
|
806
|
+
* @generated from field: optional double tvl_usd_change_1d = 26;
|
|
807
|
+
*/
|
|
808
|
+
tvlUsdChange1d?: number;
|
|
809
|
+
/**
|
|
810
|
+
* @generated from field: optional double volume_usd_1d_change = 27;
|
|
811
|
+
*/
|
|
812
|
+
volumeUsd1dChange?: number;
|
|
799
813
|
constructor(data?: PartialMessage<PoolSummary>);
|
|
800
814
|
static readonly runtime: typeof proto3;
|
|
801
815
|
static readonly typeName = "uniswap.liquidity.v2.PoolSummary";
|
|
@@ -1018,6 +1018,8 @@ PoolSummary.fields = proto3.util.newFieldList(() => [
|
|
|
1018
1018
|
{ no: 23, name: "token1_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1019
1019
|
{ no: 24, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1020
1020
|
{ no: 25, name: "rewards_campaigns", kind: "message", T: RewardsCampaign, repeated: true },
|
|
1021
|
+
{ no: 26, name: "tvl_usd_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1022
|
+
{ no: 27, name: "volume_usd_1d_change", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1021
1023
|
]);
|
|
1022
1024
|
/**
|
|
1023
1025
|
* A reward token's on-chain identity, so a client can interpret and format a
|