Implementing CtbCoin class