From 4fe07084b2af29c783db93105a47e95be87a6888 Mon Sep 17 00:00:00 2001 From: Christopher Mooney Date: Fri, 30 Apr 2021 12:55:30 -0400 Subject: [PATCH] cmooney-20210430: Add note about skim()/thaw() --- src/end.sol | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/end.sol b/src/end.sol index 295f70a0..08f709d3 100644 --- a/src/end.sol +++ b/src/end.sol @@ -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 + 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.