|
178 | 178 |
|
179 | 179 | ## RWA Offboarding Checklist |
180 | 180 |
|
| 181 | +* [ ] The debt ceiling (`vat.ilks(ilk).line`) is `0` OR is currently being set to `0`. |
| 182 | +* IF soft liquidation `.tell(ilk)` has **NOT** been called for the ilk in a previous spell: |
| 183 | + * [ ] `RwaLiquidationOracle.tell(ilk)` call is present |
| 184 | + * [ ] IF `RWAXYZ_A_INPUT_CONDUIT` is an instance of [`TinlakeMgr`](https://github.com/centrifuge/tinlake-maker-lib/blob/master/src/mgr.sol) (it is a Centrifuge integration), additional `TinlakeMgr.tell()` call is present (in order to prevent further `TIN` redemptions in the Centrifuge pool) |
181 | 185 | * IF there is debt in the RWA Vault (`vat.urns(ilk, RWAXYZ_A_URN).art > 0`), proceed with the write-off (i.e.: vault is in default): |
182 | | - * IF soft liquidation `.tell(ilk)` has **NOT** been called for the ilk in a previous spell: |
183 | | - * [ ] The value of `RwaLiquidationOracle.ilks(ilk).tau` MUST be zero, OTHERWISE the offboarding can only happen in a future spell. |
184 | | - * [ ] The debt ceiling (`vat.ilks(ilk).line`) is `0` OR is currently being set to `0`. |
185 | | - * [ ] `RwaLiquidationOracle.tell(ilk)` call is present |
186 | | - * [ ] IF `RWAXYZ_A_INPUT_CONDUIT` is an instance of [`TinlakeMgr`](https://github.com/centrifuge/tinlake-maker-lib/blob/master/src/mgr.sol) (it is a Centrifuge integration), additional `TinlakeMgr.tell()` call is present (in order to prevent further `TIN` redemptions in the Centrifuge pool) |
187 | | - * [ ] IF the stability fee for the ilk is not zero (`jug.ilks(ilk).duty > 1 * RAY`), `jug.drip(ilk)` call is present |
188 | | - * [ ] `RwaLiquidationOracle.cull(ilk, RWAXYZ_A_URN)` call is present |
189 | | -* OTHERWISE IF there is no more debt remaining in the vault (`vat.urns(ilk, RWAXYZ_A_URN).art == 0`): |
190 | | - * [ ] The debt ceiling (`vat.ilks(ilk).line`) is currently being set to `0`. |
191 | | - |
| 186 | + * [ ] Obtain `toc` and `tau` from `RwaLiquidationOracle.ilks(ilk)` |
| 187 | + * [ ] IF `block.timestamp >= toc + tau`, then |
| 188 | + * [ ] IF the stability fee for the ilk is not zero (`jug.ilks(ilk).duty > 1 * RAY`), `jug.drip(ilk)` call is present |
| 189 | + * [ ] `RwaLiquidationOracle.cull(ilk, RWAXYZ_A_URN)` call is present |
| 190 | + * [ ] OTHERWISE the write-off can only happen in a future spell |
0 commit comments