We study an equilibrium pricing of a new invented equity-for-guarantee swap and optimal capital structure of a firm, which enters into the swap. We present closed-form corporate security prices and guarantee cost, the percentage of the firm's equity allocated by the firm/borrower to an insurer...