Contract of purchase according to Civil code