-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate debt auctions logic #361
Comments
FLOP debt auctions
FLOP auction flow:
The user of the auction is thus has to:
|
What is the difference to the
Do you share the following understanding for this auction type:
|
Initially the auction is initialized to point to the VAT as the highest bidder. This leads:
Yes. except for
because it seems to me like the mkr just arrives into the wallet. |
As pointed out previously, let's never use verb https://dictionary.cambridge.org/dictionary/english/bet Can you please outline not what is the same, but only what is different compared to the flap auction type? |
adjusted the comments Differences:
|
Thanks!
Is this fixed amount hardcoded in the contract (ie known in advance) and/or emitted during the kick?
Is there a minimum distance between bids like |
it is emitted via kick
yes
Because as mentioned above, we always pay the same amount of DAI, what is changed is how much MKR we receive. And thus we submit the bid in form of "mkr received" |
Looking at the code, Also, after the flyover, reset functionality seems different to me, since it changes the amount of auctioned DAI by |
Oops, sorry, I for some reason interpreted the q to be related to the amount of DAI paid
Correct, the alteration logic of the auction differs as well, although from the interface perspective the call is analogous. I'll add the point into the summary |
It is emitted via the kick, but also seems to be known in advance:
Yes, that question was related to the question about the
Please be more specific in the description, since I just pointed out that those numbers are not hardcoded and need to be fetched from the contract. The summary of the
Kick event is only emitted at auction start. The other difference I see is that initial kick even receives a non-zero bid. According to that line https://github.com/makerdao/dss/blob/fa4f6630afb0624d04a003e920b0d71a00331d98/src/vow.sol#L145. That means that although the auction is just started, we might already know dai/mkr price. After this is done, I suppose that new issue should be created for implementing missing methods and making store-based interface to them. |
yes, one can know this via the different contract. Although since it's available by event and by the auctions map it , i fail to see the use case for now.
adjusted the top comment to be more generic. did not adjust the difference comment because the logic of the price step is essenetially the same.
adjusted differences for more accurate defenition of
The Adjusted the difference to mention knowing price at the start of the auction. |
It seems like you try to do two things at once: 1) investigate the difference and 2) judge its applicability to us. I think it's hard to do it in general, but also makes it impossible to review.
For me it seems like the step logic is reverse. Users have to put lower bids, not higher ones. That is a significant difference that have to be reflected not only in the explanatory text, but also in the way bidding work on the frontend, the way
Yes, it's similar to the flap, with the difference that the address is a) passed as an argument b) emitted together with |
added as (8) in the differences.
It already is as (4)
(9) |
Goal
Get understanding how different are
flop
auctions from theflap
Context
For the planning and implementation of the debt auctions support, we want to investigate how they work and how difficult it will be to support them given our codebase and existing support of the surplus auctions. Same issue should investigate testing scenarios.
Assets
flop
auctions https://github.com/makerdao/auction-keeperTasks
The text was updated successfully, but these errors were encountered: