Uniswap V3 amount=???

Hi all –

Little lost on how Uniswap V3 works. I made this txn on UniV3 via Polygon…

Polyscan: https://polygonscan.com/tx/0x3466934d1caeefdd42946deb9b88ecc0fd7f750c8784c9a208494cbd95e52dd9

TxViewer: https://tx.eth.samczsun.com/polygon/0x3466934d1caeefdd42946deb9b88ecc0fd7f750c8784c9a208494cbd95e52dd9

Trying to figure out how the “amount=104321436570834” in the call is calculated.

Amount of Token 0 is 40198966 (40.198…USDC)

Amount of Token 1 is 25483825349543641 (.0254…ETH)

I scoured UniV3's whitepaper to figure this out, but I can't decipher the right formulas. What's confusing is real vs virtual liquidity…Also not sure if when they say Liquidity they mean liquidity in the position range for the pool or liquidity in my personal position.

Does anyone know off the top of their head how to calculate that amount number? Any insight would be greatly appreciated.

Uniswap V3 amount=???

1 thought on “Uniswap V3 amount=???”

  1. Hey OP, can you please send a message to our support team? Our email is support@uniswap.org. Thank you!

Leave a Comment