Skip to content

Commit 2e778f6

Browse files
committed
Changed the mechanism risk manager uses for managing auction surplus
The mechanism previously proposed has two flaws. First, it is hard to implement and requires a lot of additional bookkeeping in the contract given that multiple auctions can be open at the same time and all of them can generate a surplus. Secondly, it might happen that the auction gets opened for 0.0001 TBTC because the rest was filled by the surplus. In this scenario, the auction value is much lower than the minimum tBTC lot size and the auction length set by the governance could make not sense.
1 parent d9c3ed2 commit 2e778f6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/design.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,16 @@ Which strategy is used is a governable parameter.
238238

239239
In case signer bonds were purchased by a third party before the auction was
240240
fully filled, TBTC acquired by the risk manager from potential partial auction
241-
takes will be used in the future, reducing the amount of a next auction.
241+
takes will be used in the future, to purchase signer bonds once the accumulated
242+
surplus value allows for it. For example:
243+
244+
* Liquidation of 1 TBTC deposit, auction opened for 1 TBTC and early closed
245+
after being filled for 0.3 TBTC total. 0.3 TBTC goes to the risk manager.
246+
* Liquidation of 1 TBTC deposit, auction opened for 1 TBTC and early closed
247+
after being filled for 0.8 TBTC total. 0.8 TBTC goes to the risk manager.
248+
* Liquidation of 1 TBTC deposit, there is 1.1 TBTC in the surplus, instead of
249+
opening an auction, risk manager purchases signer bonds reducing the surplus
250+
to 0.1 TBTC.
242251

243252
== Upgradeability
244253

0 commit comments

Comments
 (0)