Ken's Smart contract development

Job ID: 33682542

Budget: $25 – $30 USD

I need to know how to amend my smart contract code so that folks can swap for or buy my tokens but not sell, basically restricting the sell function to just me. The reasoning is I want to be able to have them send their tokens to me to be exchanged for ETH and MATIC instead.
Related categories: Smart Contracts