Uniswap Debugging – Identifying Issues in Liquidity Calculations on Uniswap

bugcontract-debuggingdapp-debuggingliquidity-provideruniswap

Looking though a uniswap address: https://info.uniswap.org/account/0xd62317c76E626D53C900088Fb07539b829B564B2

This address shows that it added $30k+ worth of liquidity, and none of it is removed. Why is the liquidity total on top only showing $23k. Is this a uniswap bug or an ethereum bug? And how can this be resolved?

Best Answer

There is no bug. This address holds exactly 0 liquidity token for the wOxen-USDT pair. Accordingly, Uniswap info shows 0$ as liquidity provided.

How come, you may ask, since $30K+ were provided as liquidity to that pair?

Well, the liquidity tokens were staked! Staking involves transferring the uniswap liquidity tokens to another address: this one, as a matter of facts (see this transaction). If they are held by another address, they are no longer in your account.

If you did stake those liquidity tokens, unstake them and you should see them back under your address and on the Uniswap info page.

Related Topic