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

bidder: fix logic #8

Closed samczsun closed 4 years ago

samczsun commented 4 years ago
  1. We want to recover the dai if we lose the auction
  2. Vat stores dai with 45 decimal places but expects 18 for mkr, so we need to divide by 1e27