There is a mutual agreement between two parties, and both agree to sign a contract. This is mutual assent.  There are two elements of this. An offer and acceptance. The offer is accepted by the offeree, and everything involved is legal.