How Does an IPO Agreement Protect Investors and Underwriters?