Here's the code for the FTT Deployer contract:
https://etherscan.io/address/0x50d1c9771902476076ecfc8b2a83a...
I'm not familiar enough with the Ethereum's Solidity programming language to give you an explanation.
It looks like it's an OpenZeppelin template. I've seen these re-used elsewhere. You can look through their docs to understand it better.
https://docs.openzeppelin.com/contracts/4.x/erc20-supply