Liquidity, Default, and Crashes: Endogenous Contracts in General Equilibrium · Study