I am learing about smart contracts and I tried to audit smart contract of the PancakeSwap (cake) token which is made on the binance smart chain which is just the copy of the etherium chain so erc-20 standards should apply.
I am wondering what is the meaning of this mint function which could only be called by the owner? To me it looks like backdoor for minting new tokens whenever owner of the contract want it. Can anybody explain meaning of this code to me?
Whole contract source code can be find here: https://bscscan.com/address/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82#code