Ultimate magazine theme for WordPress.

Solidity – Uniswap V3 Pool Token with Sales Taxes

Working on a new token contract using a V3 Uniswap pool for liquidity.

The ERC20 token has the traditional taxes (reflection, purchase, sale, etc.)

It seems that when using Uniswap V3 liquidity pools it is not possible to have a token with tax on sales.

The sales work on wallets that are exempt from the fees and there are no issues, however a wallet that would be affected by the sales tax cannot process a sale. I tried setting the slip well above the tax amount but it still failed.

Image of the error message displayed in Uniswap.

This test is conducted on Goerli TestNet. However, since it is a fork of MainNet, I’m sure the same problem would occur on MainNet as well.

What are people doing with tokens who have taxes and want to use V3 LP? There must be a solution as they encourage people to move to and use V3?

Learn Crypto Trading, Yield Farms, Income strategies and more at CrytoAnswers
https://nov.link/cryptoanswers

Comments are closed.

%d bloggers like this: