Mine or not to mine? Cloud mining contracts