Gelotto: Cryptocurrency-Based Games of Chance Governed by Smart Contracts