backstop-syndicate / dai-backstop-syndicate

A pooled liquidity contract for participating in the upcoming MKR auction at a "backstop" price of 1 MKR per 100 Dai.
Creative Commons Zero v1.0 Universal
29 stars 10 forks source link

Handle global settlement during defect #30

Closed epheph closed 4 years ago

epheph commented 4 years ago

If cage is active, we need to deliver the vatDai directly, since we cannot mint new ERC20 tokens.

Tests are broken on master, but this code will need to be tested.

Changed names of variables to make clear which ones are e45 and which are e18