One of the key technological innovations of blockchain 2.0 has been the development of what are called smart contracts.
Smart contracts are computer code that are stored inside of a blockchain which encodes contractual agreements.
Smart contracts are self-executing contracts with the terms of the agreement or operation directly written into lines of code which are stored and executed on the blockchain computer.