Pausable/Unpausable admin
Pausable admin interface
Use the emergency interface to execute Pausable admin functions.
Pausable admin can pause active Pools and Credit Managers.
Unpausable admin can unpause paused Pools and Credit Managers.
Pausable admin is a sensitive role, but its permissions are softer that unpausable admin.
You can set pausable admin to be EOA to be able to react quickly, but unpausable admin should be a multisig.
Multipause
Multipause is a helper contract that allows pausing multiple Market contracts in one transaction.
For multipause contract to function, you need to add a Multipause contract and at least one Pausable admin to the list.
How to add admins and multipause
Functions definition
Pause Pool(pool)
- Pauses pool‑level operations (deposit into pool, withdraw LP tokens)
- Designed to be combined with Credit Manager pause to prevent bank runs in the most extremal scenarios.
Pause Credit Manager(cm)
- Pauses all Credit Manager operations.
- Borrowing, withdrawing collateral, opening & closing credit accounts, performing adapter calls are blocked.
- Only whitelisted Emergency Liquidators can liquidate accounts.
Pause Market (cm)
- Pause Pool and all Credit Managers of a Market.
Pause All Contracts (mc)
- Pause all Pool and all Credit Managers of a Market Configurator.