TopCoin 2 Core Code