Hi, please help me to solve the problem, if my token is bought less than a predefined amount (in WETH) then no sales tax is assigned, if above the specified amount then this address is taxed when sold. I can't understand how I can get the purchase amount of the address in WETH. For example: Address1 bought a coin for 0,5 WETH (this is below the preset value) then the tax is not removed when selling. Address2 bought 1 WETH then the sales tax is 5%.
How do I get the purchase amount for address1 and address2 in WETH in the smart contract?