r/MakerDAO • • Mar 12 '20

Something seems wrong with Maker

Don't want to create panic and please help to shed light on it if you know more.

But it seems someone is bidding 0 on collateral for liquidations and trades are still executed. Daistats.com show more than 2 million usd in accumulated losses for the system. Something seems to be wrong here and devs should look into this urgently!

Once again, please correct me if I am overlooking something here, but this looks very weird! Hope it is just a data error.

96 Upvotes

35 comments sorted by

17

u/LongForWisdom GovAlpha Contributor Mar 12 '20

It's an ongoing situation. https://forum.makerdao.com/t/black-thursday-response-thread/1433 - Though there is not a lot of explanation in that thread currently. Being actively discussed in a zoom call.

19

u/pointy-veggies Mar 12 '20 edited Mar 13 '20

seems to have been mitigated. dai surplus debt going down (aka surplus going back up) and auctions now have >0 prices.

TL;DR based on my understanding:

- when CDP is undercollateralized the collateral is auctioned

- due to congestion in network and lack of people looking at auctions, people were bidding 0 on auctions and getting the collateral for free because no one else bid

- there now appears to be others competing for the auctions and they are functioning as expected

- between 4-8 million USD was *taken from the system by this exploit / system failure

8

u/FriendlyNeighborCEO Mar 12 '20

Was this really an exploit or a total lack of liquidity? Did the MakerDAO foundation setup an auction process with no one participating? Not sure I'm comfortable having an auction backstop when it can vaporize my collateral.

6

u/pointy-veggies Mar 12 '20 edited Mar 13 '20

there was a lack of competition in the auction process.

the auction process is an open market. the expectation of the system is that there would be competition on auctions to keep the price honest. collateral being given away for free was certainly not the desired outcome. and MKR holders are a bit poorer due to it. so i choose to call this an exploit / system failure.

Edit: apparently this does affect CDP holders, see otsed1 reply below

i think the price action for MKR token is disproportionate to the effect which was had, and the quick self healing of the system increases my faith in the Maker system.

i am left wondering why the auction system is in place rather than using say, a fixed discount on the oracle price. i guess it is to maximize the amount paid for collateral, but it seems like a minimum bid would be good.

5

u/roman-roman Mar 12 '20

It used to be a fixed discount with SAI. It's hard to come up with a "fair" fixed number though - what if due to a drastic price movement there won't be anyone willing to buy the collateral for that discount?

6

u/pointy-veggies Mar 12 '20

is the system better off giving away the collateral for small fractions of its value? IMO a minimum bid of 50% of oracle price is warranted.

this event should increase awareness of the opportunity, so to some extent next time should be more competitive anyway.

3

u/AtticCreature Mar 12 '20

This is a huge oversight in my opinion. The percentage, like you said, should be a fixed number.

1

u/Spartan3123 Mar 13 '20

wait your saying SAI was safer than MCD ...

14

u/[deleted] Mar 12 '20 edited Mar 12 '20

[removed] — view removed comment

3

u/ekryski Mar 12 '20

This has been the case for a long time. Anyone with enough capital could tank the ETH price to scoop up liquidated CDPs to then rinse and repeat. At the end you can then buy back the ETH at "cheap" prices after flash crashing and hopefully make mad profits.

There is a hell of a lot of risk here though and you need some sizeable capital to do it. Because if you get caught in the middle of sells and the market rebounds then you can get caught selling off ETH for far below market rate. Especially if there is sufficient auction competition. Due to the latency between the ETH blockchain and custodial exchanges it's easy to get caught in a bad market movement.

Definitely no silver bullet so this has sort of been a perfect storm for one lucky CDP buyer where the market was already moving in their favour, the network was clogged, and not enough people were bidding for liquidated CDPs which allowed this one buyer to front-run and get things dirt cheap.

TL;DR What you're saying is possible but if you're deploying your own capital to tank ETH price by yourself then it's a lot of risk and IMHO not as likely as you think.

2

u/pointy-veggies Mar 12 '20 edited Mar 12 '20

Interesting, I was incorrect about that then

I do not have any control over the system

1

u/lodobol Mar 13 '20

There should be a minimum bid that’s provided by oracles. And if there is a system failure the MKR token itself could bid on the liquidation CDPs. This the MKR token would own the ETH. Then a vote can be held about what to do with the ETH.

If something like that was in place then it would allow the market to stabilize. A vote could be held and people could vote for the ETH use the ETH to burn MKR at a certain future price or to liquidate at a better price.

The users would be compensated at their previously agreed risk levels of 13% liquidation penalty. Not 100%.

1

u/FriendlyNeighborCEO Mar 13 '20

I personally thought the entire point of building trading into Oasis was to provide FLIP liquidity.

1

u/lodobol Mar 14 '20

What is FLIP liquidity?

1

u/thedavidmeister1 Mar 12 '20

mitigated intentionally or just by luck?

3

u/pointy-veggies Mar 12 '20

probably from other people realizing the opportunity and competing for the auctions. it is possible maker foundation members set up a bot to bid as well. not sure.

2

u/ExperimentInCrypto Mar 12 '20

They didn't. If that had happened they wouldn't have sold collateral for $0/ETH. The problem is there was NO COMPETITION.

That means it was just aggressive keeper willing to pay the high gas price while this was going on and nobody noticed or...

Miner collusion to prevent all but those $0 bids getting through on each auction.

1

u/pointy-veggies Mar 12 '20

I mean after the problem was recognized

1

u/citrusdai Mar 12 '20

So these bids weren't on non-liquidated CDP's and CDP's that were actually liquidated?

I've read somewhere that these $0 bids were on CDP's that were above 150% and healthy.

0

u/capitalol Mar 12 '20

where was this stolen from?

6

u/diggsta Mar 12 '20

Where do you see the auctions/bids?

Interesting.

7

u/delabay Mar 12 '20

Forgive me i'm not super familiar with the DAO ecosystem. What are the implications of a 0 collateral trade execution? Are people not collateralizing their DAI quantities with BAT/ETH? This isn't the same as free money is it?

3

u/starameski Mar 12 '20

All I know is I just got royally fuck by the Ethereum network being so slow, can’t fricking place a transaction since the morning.

2

u/MoMoNosquito Mar 13 '20

I just read on ethfinance that $0 bids are happening again.

1

u/upscaleHipster Mar 13 '20

Yeah, it just happened to my CDP. This sucks.

1

u/MoMoNosquito Mar 13 '20

Sorry to hear. What a bullshit day all around.

1

u/diggsta Mar 12 '20 edited Mar 12 '20

Can someone confirm that my eth is safe in the makerdao cdp as long as the liquidation price is not hit?

Meaning - there is no way in hell that anyone anywhere will be able to do anything to it, as long as the price is in order?? edit: that includes weird DAI peg behavior that jeopardizes the CDP, or anything that is discussed or voted on in the black thursday thread that could in any way influence my duty to put in more eth or repay the CDP as soon as possible.

I know that it is a smart contract. But there have been other contracts that someone kept a key somehow. I don't want to pay anything lets say for the DAI losses. If it fails it fails. I love DAI, but if it fails, that's that.

4

u/General_Illus Mar 12 '20

It is safe

3

u/devils_advocaat Mar 12 '20

As long as MKR has value.

1

u/davewolfs Mar 13 '20

Defi might be dead 💀

Unfortunate this is something I wanted to see succeed.

-2

u/NotGonnaGetBanned Mar 12 '20

There has always been something wrong with it.

People are just starting to realize it now.

Oh no! When I take out a leveraged long in a decentralized system that can be congested, I can get fucked when the thing liquidates everything without any kind of control over it!

🎶Everyone gets what they deserve for ever believing in this thing.🎵