Social Structure and Contract Law