🛡️Guardian Roles
The Comptroller has a number of guardian roles within it, each that can be set to distinct addresses and fulfill specific security roles within the protocol.
Mint Guardian
The Mint Guardian is responsible for pausing minting (supplying assets) for a specific market within the protocol. This is useful if you ever want to stop liquidity from entering the markets.
Borrow Guardian
The Borrow Guardian is responsible for pausing borrowing for a specific market within the protocol. This is useful if you ever want to stop assets from being borrowed from a specific market.
Seize Guardian
The Seize Guardian is responsible for pausing liquidations across the entire protocol. This is useful if you ever want to stop liquidations from occurring, but keep in mind that liquidations are part of the protocol staying solvent and removing debt that's at risk of becoming uncollateralized from the system.
Transfer Guardian
The Transfer Guardian is responsible for halting transfers of mTokens between addresses. The mTokens you're given in exchange for supplying liquidity are a representation of your position within the Moonwell protocol, and since they're standard ERC-20 tokens they can be transferred just like any other token. This pause guardian stops all transfers though, which might be helpful if there's contagion risk via this mechanism for some reason. It is important to note that this does not stop minting, borrowing, redeeming, or liquidations within the protocol since those use different logical paths with their own guardians.
Borrow Cap Guardian
The Borrow Cap Guardian is responsible for setting the borrow caps on a specific market via the _setMarketBorrowCaps function. This is useful if you wanted to delegate the adjustment of the borrow caps across markets to someone who specializes in these sorts of adjustments without giving them administrative access across the rest of the protocol.
Last updated