If they sell 100% of their shares to the VCs, the VCs have 100% ownership of the code, because they own the company.
If they sell 100% of their shares to the VCs, the VCs have 100% ownership of the code, because they own the company.