Blockchain and the Legal Implications of Smart Contracts