I want to create a smart contract bep20, and i want to set a tax fee on every transaction.
It gives me the error: Expected "(" but got identifier
function transferFrom(address from, address to, amount)
virtual override returns (bool) {
uint256 fee = (amount.mul(percentage)).div(80000);
uint256 total = amount.sub(fee);
transfer (to ,total);
return true;
can you help me? thank you