legal ground
Article 400 of the Civil Code
To establish a mortgage, the parties shall conclude a mortgage contract in writing. A mortgage contract generally includes the following clauses:
(1) The type and amount of secured creditor's rights;
(2) The time limit for the debtor to perform the debt;
(3) The name and quantity of the mortgaged property;
(4) the scope of the guarantee.
Article 595
A sales contract is a contract in which the seller transfers the ownership of the subject matter to the buyer and the buyer pays the price.