Legal and social safeguards against opportunism in exchange