Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.1 KB

README.md

File metadata and controls

53 lines (40 loc) · 1.1 KB

BEI Stable Coin

forge build
forge test
# Check this test for how the system works
forge test --match-path test/sim/Sim.test.sol

Links

TODO: ESM? TODO: OSM? TODO: gov?

TODO: test

  • pot
  • vow
  • clipper
  • dog
  • flopper
  • flapper
  • cdp manager

Memo

ETH A - 0x4554482d41000000000000000000000000000000000000000000000000000000

ETH C - 0x4554482d43000000000000000000000000000000000000000000000000000000

par [ray] 1000000000000000000000000000
mat [ray] 1450000000000000000000000000
val [wad] 2067300000000000000000
spot [ray] 1429862068965517241379310344827

liquidation ratio = mat / par
                  = collateral USD value / debt USD value

liquidation price = spot = val * 1e9 * par / mat