-
Notifications
You must be signed in to change notification settings - Fork 414
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
cmooney-20210430: Add note about skim()/thaw() #230
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,6 +148,11 @@ interface SpotLike { | |
all auctions are in the reverse (`dent`) phase. There are two ways | ||
of ensuring this: | ||
|
||
NOTE: In the event there's a system surplus, and there are no | ||
under-collateralised vaults remaining, one must skim() large CDPs in order | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it only large CDPs? Seems like if we need 0 surplus we need to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We shouldn't need to |
||
to account for the fees built up in the surplus buffer. Without doing this | ||
the thaw() will fail to complete as it requires the surplus buffer be empty. | ||
|
||
4a. i) `wait`: set the cooldown period to be at least as long as the | ||
longest auction duration, which needs to be determined by the | ||
cage administrator. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line references two options on old line 151 and 158. The new comment seems to be wedged in the middle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'd suggest moving the new paragraph right after
- backing collateral taken