Smart Contract Consultation / Development (UniSwap Sales Tax)

Job ID: 32714612

Budget: €30 – €250 EUR

We are creating a smart contract and are having issues with implementing a small burn tax based strictly off of sells. We are looking for consultation and reviewing the code for it to properly work when using using Ropsten Test

The created ERC20 will have tax on sells. We are trying to achieve this by creating a mapping(address => bool) where we set the pool address = true, and then in _transfer function checking if a recipient == to the pool, based on that there is either a normal transfer or a transfer that is taxed.

The end goal is that on sales there will be a tax implemented, we are open to using other methods if necessary. The priority is for the sells to work on swaps.

Below you will see the current contract