Vault allowing people to borrow GHO at different rates basing on the gho market price,
To peg GHBurra vault is a ERC 4626 vault which act as a GHO facilitator. It can mint GHO to users who deposit in the vault. The special thing of Burra is that it determines the interest borrow rate basing on the price. if GHO is overpegged, the rate will be smaller, incentivizing users to mint (borrow) GHO at a low interest. This would cause the supply of GHO to increase, and the price to be back at 1$. In the opposite scenario, when GHO is underpegged (price <1$) to the dollar, the rate will be higher, deterring users to mint new GHO. Users that deposit into Burra, are issued with Burra (BU) shares. These shares represent the debt position of each user. Users can List part of their shares for sale, allowing other users to buy their debt. Immagine, I borrow gho with a low interest rate because the price is overpegged and the rates are low. after some week, GHO is underpegged, rates grow and borrowing GHO is not optimal. I can sell my shares representing the debt I got at a lower rate than the current one making profit. This secondary market would deter user to mint new gho when the rates are high while maintaing the circulation of GHO active.O to 1 dollar, I crafted this Vault wich is also a facilitator.