bug: Withdraw tab does not show LP token balance #12

Closed
opened 2026-03-12 04:54:24 +00:00 by Brouie · 5 comments
Brouie commented 2026-03-12 04:54:24 +00:00 (Migrated from gitlab.com)

Description

After providing liquidity, the Withdraw Liquidity tab does not display the user's LP token balance. User has no way to know how many LP tokens they hold.

Expected

Withdraw tab should query and display the user's LP token balance so they know the maximum they can withdraw.

Steps to Reproduce

  1. Connect wallet
  2. Provide liquidity to any pair
  3. Switch to Withdraw Liquidity tab
  4. No LP balance shown — only an empty input field

Impact

User must guess their LP token amount, leading to failed transactions or partial withdrawals.

## Description After providing liquidity, the Withdraw Liquidity tab does not display the user's LP token balance. User has no way to know how many LP tokens they hold. ## Expected Withdraw tab should query and display the user's LP token balance so they know the maximum they can withdraw. ## Steps to Reproduce 1. Connect wallet 2. Provide liquidity to any pair 3. Switch to Withdraw Liquidity tab 4. No LP balance shown — only an empty input field ## Impact User must guess their LP token amount, leading to failed transactions or partial withdrawals.
PlasticDigits commented 2026-03-12 07:06:43 +00:00 (Migrated from gitlab.com)

Fix implemented in commit 7285323: the Withdraw Liquidity tab now queries and displays the user's LP token balance when the tab is opened. The balance appears next to the LP Token Amount label and is clickable to fill the max amount. The withdraw button is disabled with an "Insufficient LP Balance" message when the entered amount exceeds the available balance. Balance and pool data are refetched after a successful withdrawal.

@Brouie Please verify when you have a moment.

Fix implemented in commit 7285323: the Withdraw Liquidity tab now queries and displays the user's LP token balance when the tab is opened. The balance appears next to the LP Token Amount label and is clickable to fill the max amount. The withdraw button is disabled with an "Insufficient LP Balance" message when the entered amount exceeds the available balance. Balance and pool data are refetched after a successful withdrawal. @Brouie Please verify when you have a moment.
PlasticDigits commented 2026-03-12 11:49:15 +00:00 (Migrated from gitlab.com)

mentioned in commit 7285323617

mentioned in commit 728532361721d6e4ce0ddb5f00ccd5c68f5faa8a
Brouie (Migrated from gitlab.com) closed this issue 2026-03-13 01:56:41 +00:00
Brouie commented 2026-03-13 01:56:42 +00:00 (Migrated from gitlab.com)

Verified fixed — LP token balance now displayed on withdraw tab.

Verified fixed — LP token balance now displayed on withdraw tab.
Brouie commented 2026-03-13 02:02:26 +00:00 (Migrated from gitlab.com)

mentioned in issue #1

mentioned in issue #1
Brouie commented 2026-03-13 04:22:44 +00:00 (Migrated from gitlab.com)

mentioned in issue #18

mentioned in issue #18
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic#12
No description provided.