Smart contracts are based on one of the core ideas behind modern blockchain technology. They are a way to automate a wide range ...