Formation of the doctrine of the contract in Roman jurisprudence