From 5c4997b3e9d3f8ec1659768d273991a5a1d8b258 Mon Sep 17 00:00:00 2001 From: King Date: Wed, 16 Aug 2023 11:35:21 +0900 Subject: [PATCH] fix: return total liquidity in query response --- x/amm/types/query.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/amm/types/query.go b/x/amm/types/query.go index effdb1ab5..31806ff0a 100644 --- a/x/amm/types/query.go +++ b/x/amm/types/query.go @@ -17,6 +17,7 @@ func NewPoolResponse(pool Pool, poolState PoolState, balances sdk.Coins) PoolRes CurrentTick: poolState.CurrentTick, CurrentPrice: poolState.CurrentPrice, CurrentLiquidity: poolState.CurrentLiquidity, + TotalLiquidity: poolState.TotalLiquidity, FeeGrowthGlobal: poolState.FeeGrowthGlobal, FarmingRewardsGrowthGlobal: poolState.FarmingRewardsGrowthGlobal, }