A structured cryptocurrency