Skip to content

Commit

Permalink
fix: return total liquidity in query response
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcre committed Aug 16, 2023
1 parent 7e09391 commit 5c4997b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/amm/types/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 5c4997b

Please sign in to comment.