Although the law of contract is largely settled, there is at present no widely-accepted comprehensive theory of its main principles …