I am currently writing a contract analysis tool (something similar to Token Sniffer) and there's one malicious contract that caught my attention. After the token's launch, contract owner somehow spawned 1 trillion tokens (even though max supply was 1 billion) and dumped them all at once effectivelly draining the entire liquidity pool (basically a rug pull). Contract was renounced and 100% of liquidity tokens were burned.
I'm analysing the contract's source code however I can't see any functions that would spawn 1000 billion tokens. Maybe there's someone here that is more experienced with Solidity and would notice something I don't see? I'd really appreciate your help.
From what I can see there is another owner in the contract, marketingAddress
variable for reference. And that's the address that dumped all the coins, however like I said I can't find any function which would mint that amount of tokens.
Also, if you end up helping me and finding the malicious function I'll send you 0.012Ξ - around $20 :)
Contract in question: https://etherscan.io/address/0x9b7cadf33a421bee7316a41aae7549a6e41a1007#code
Token chart: https://dexspy.io/eth/token/0x9b7cadf33a421bee7316a41aae7549a6e41a1007
1 trillion token dump tx: https://etherscan.io/tx/0xd4b44461035ad6c66c877325378b3a9ee9af466b58e40fdcf8d7e0bb4017f671