Open Trade with Categorised Smart Contracts