Stockline.guardian and forwards pause and unpause calls from a single key address. Pause blocks borrow, withdrawCollateral, liquidate, and USDG withdrawal from the pool. It never blocks repay, supplyCollateral, deleverage, or USDG deposit, and it cannot change any parameter. The key is a hot wallet held by the team so a pause can happen in minutes. The Timelock cannot pause, and the Guardian cannot write the registry, so neither role can do the other’s job. A compromised key can stop risk-increasing actions for a while but cannot move funds or change the line on any account.
Guardian lets you:
- Pause risk-increasing actions in an emergency
- Unpause them
- Read the key and core addresses
The source code is
src/governance/Guardian.sol on GitHub. The ABI is /abis/Guardian.json.
Write methods
pause
Stockline.pause. Key only. After this call, borrow, withdrawCollateral, liquidate, and USDG pool withdrawals revert with Paused. Repay, supplyCollateral, deleverage, and USDG deposits keep working. Use it when a feed, the sequencer, or a listing is behaving in a way the oracle regimes do not already cover.
Pausing does not stop interest from accruing. Borrowers keep paying while paused, and the line on each account does not move.
unpause
Stockline.unpause. Key only. Every action returns to the state the oracle regime allows. Liquidations that became possible during the pause can execute in the same block as the unpause, so announce an unpause before sending it.