Ensuring Transparency with Smart Contracts