The legal effect of the contract will not be affected after the cancellation of the company. If the company is not liquidated before cancellation, shareholders may be sued after cancellation. As long as the contract conforms to the legal provisions at the time of signing, it can take effect after being signed and sealed by both parties, unless otherwise agreed. The cancellation of the company now means the loss of the legal subject of the company, but it cannot deny the contract legally signed before the cancellation of the company. It can only be said that after the loss of the company entity, if the company has an heir, it will continue to bear the rights and obligations of the contract. If there is no relevant successor, the contractual rights and obligations undertaken by the company shall be extinguished. As long as the company does not cancel the contract when it is signed, the contract is valid.
If the company has been cancelled when signing the contract, then the contract is invalid because the subject of signing the contract does not exist. Before the cancellation of the company, one of the liquidation tasks is to clean up the contract. Now that the company has been cancelled according to law, its contract cleaning work should also be completed.