title: Allocate percentage of tokens to the wallet who deployed the liquidity and DEX
body: <p>I'm new to solidity and I have to developed a ERC-20 Token. The functionality of token is almost done but in the mint function I want to cut 2% of the tokens user buy and send 1 % to liquidity pool and 1% to the owner who deployed the liquidity pool. How can I achieve this functionality ?</p>
  <pre><code>     function mintToken(address target, uint256 mintedAmount) public onlyOwner {
       balanceOf[target] += mintedAmount;
       totalSupply += mintedAmount;
      payable(msg.sender).transfer(mintedAmount);
      emit Transfer(owner, target, mintedAmount);                                               
  }
  </code></pre>