InverseFinance / anchor

BSD 3-Clause "New" or "Revised" License
28 stars 25 forks source link

Add stabilizer contract #2

Closed nourharidy closed 3 years ago

nourharidy commented 3 years ago

Stabilizer allows users to buy and sell Dola (synth) for Dai (reserve) for a percentage fee which is sent to governance, similar to Maker's PSM contract (Dai<>USDC). The contract accepts Dai up to a global maximum supplyCap which limits the amount of Dola minted and Dai stored. The contract also has the option of integration with one of our Inverse IStrat strategy contracts (probably YearnV2Strat) to invest stored Dai and allows anyone to send generated yield to governance via takeProfit().