Preface Built on Ethereum, Beanstalk, a credit-based algorithmic stablecoin protocol designed with the intention of disrupting DeFi and the rent-seeking collateralized stablecoin market, lost $182 m in a flash loan attack on Sunday, April 17th, 2022. The attacker was able to identify and exploit flaws in the governance design. It enabled…