Cross-posting from here: https://stackoverflow.com/questions/71282483/contract-allows-mass-creation-of-tokens-without-a-mint-function
A few times now I have seen scam tokens created where the contracts seem fine, but then someone is somehow able to sell 1000s of times more tokens than were created, eg. 10^10 tokens were created via this contract:
But then somehow someone was able to sell 9.1*10^15 tokens here:
And with this one 3X10^9 tokens were created:
Yet someone was able to sell 10^17 tokens here:
Is there any way by looking at the contract code to see how they were able to do this?