Category Blockchain and Smart Contracts