LogoLogo
  • Discover
    • 🌜About Moonwell
    • 👥Contributors
    • 🌐Networks
    • 🔗Quick Links
  • Moonwell Overview
    • 🌙Getting Started
      • Wallet Connection
    • 🤝Lend
      • Supply
      • Withdraw
      • Claiming Rewards
      • Lend FAQ
    • 🤝Borrow
      • How to Borrow
      • Loan Repayment
      • Credit and Liquidations
      • Borrow FAQ
    • 🏦Vaults
      • Interacting with Morpho Vaults
      • Fund Wallet and Deposit
    • 🌐Virtual Accounts
      • Create Virtual Account
      • Accessing Virtual Account
      • FAQ
    • 🦋Isolated Markets
      • Interacting with Isolated Markets
    • 💲USDC Anywhere
      • Supply USDC
      • Borrow USDC
    • 💳Moonwell Card
      • Get Started
      • Load and Spend
      • Auto Load
      • FAQ
    • 💡Smart Wallet
      • Create
      • Connect
      • Getting Started
    • 🌙Tokens
      • WELL Transparency Report
      • WELL Transfer
      • WELL Migration (Base)
      • MFAM Transparency Report
    • 🫂Stake
      • How to Stake
      • How to Unstake
      • Claim Staking Rewards
  • Governance
    • 🗳️Moonwell Governance
      • 🪙Delegate
      • 📜Proposals
      • 🗳️Voting
      • 🔢Parameters
      • ❔FAQ
      • 📜DAO Constitutions
        • Moonwell DAO Constitution
        • Moonwell Apollo DAO Constitution
      • 🗣️Forum
    • 🏛️Moonwell Foundation
      • 🏦Treasury
      • 🔒Security Council
      • 📃Governing Documents
        • Foundation Bylaws
        • Foundation M&A
  • Protocol Information
    • ‼️Protocol Information
    • 📊Asset Risk Parameters
    • 📈Interest Rate Curves
    • ⚖️Reserve Auctions
    • 🛡️Security
    • 🔎Audits
    • 📜Contracts
    • 🖊️Terms of Service
  • Developers
    • 🪙mTokens
      • 📝Contract Interactions
    • 👮‍♀️Comptroller
      • 📝Contract Interactions
      • 🚦Risk Parameters
      • 🛡️Guardian Roles
    • 🏦4626 Vaults
      • 👷‍♂️ERC20 Vault Deployment
        • 🗒️4626 ERC20 Vault Interface
      • 👷‍♀️ETH Vault Deployment
        • 🗒️4626 ETH Vault Interface
        • 📍4626 ETH Router
    • 💻Moonwell SDK
    • 🔨Contribution Guidelines
Powered by GitBook
On this page
  • Mint Guardian
  • Borrow Guardian
  • Seize Guardian
  • Transfer Guardian
  • Borrow Cap Guardian
  1. Developers
  2. Comptroller

Guardian Roles

PreviousRisk ParametersNext4626 Vaults

Last updated 10 months ago

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 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.

👮‍♀️
🛡️
_setMarketBorrowCaps