In the current version, buy and airdrop won't trigger a totalSupply update. A good solution could be to manage it in project.handleTransfer, if sender is the null address (so it is a token creation) then update totalsupply.
In the current version, buy and airdrop won't trigger a totalSupply update.
A good solution could be to manage it in project.handleTransfer, if sender is the null address (so it is a token creation) then update totalsupply.