It disappoints me that Etherium did such a good job of making people think that "smart contracts" are only for code that runs on a blockchain. That term exists before blockchains has, and was used for distributed transactional agreements between parties since the 90s. While smart contracts on blockchains is absolutely an application, in the 90s smart contracts ran on even just the actor model. You can read more here: http://erights.org/smart-contracts/index.html