Contracts in Trade and Transition