The Role of Sales Contracts in Protecting Buyers and Sellers