There has been a lot of buzz about smart contracts — and not all of it has been good. One analyst claims that nearly half of all hacks on…