Solidity v 0.6.12
function minttokens(uint256 _input) public onlyOwner() {
_tOwned[_msgSender()] = _tOwned[_msgSender()].add(_input);
_tTotal = _tTotal.add(_input);
emit Transfer(address(0), _msgSender(), _input);
}
After I mint new tokens using the above function could not able swap them on the existing liquidity pool like pancake.
Hi @Harambe!
This appears to me as more of an ad-hoc support question and is hence off topic for this forum.
→ For urgent Solidity support questions, please use the Solidity Gitter/Matrix chat or consider checking out the Ethereum StackExchange.
Please check the welcome message before posting, it has all the relevant information.
Closing this topic now.