A smart contract is programmable code stored on a blockchain. Once deployed, it automatically executes predefined actions ...