A common security practice is to keep modern smart contracts as minimal as possible to reduce the attack surface