Contracts in trade and transition :the resurgence of barter