What Is a Smart Contract? Definition and Function Explained | AlphaScala