dForce | Developers
  • Introduction
  • Lending Protocols
    • Yield Markets
      • Architecture
      • Modules
      • Contracts
      • Security
      • Interface
    • Lending & Synthetic Assets
      • iTokens
      • Controller
      • iMSDTokens
      • MSDController
      • Price Oracle
      • Reward Distribution
      • Security
      • Deployed Contracts
      • Glossary
    • Vaults
  • Liquidity Protocols
    • dForce Trade
    • Liquidity Mining
  • DF Staking
    • Free Staking
    • Lock-up Staking
Powered by GitBook
On this page
  • Methods
  • getAllMSDs()
  • hasMSD()
  • getMSDMinters()
  • mintCaps()

Was this helpful?

  1. Lending Protocols
  2. Lending & Synthetic Assets

MSDController

MsdController manages the minting authority of MsdToken.

Methods

getAllMSDs()

List all MSD tokens added into the controller.

function getAllMSDs() public view return (address[])

hasMSD()

Return status whether an MSD token has been added to the controller.

function hasMSD(address) public view return (bool)

getMSDMinters()

List all MSD token's minter.

function getMSDMinters(address MSD)
        public
        view
        return (address[])

mintCaps()

Return minting capacity of one of the MSD minters.

function mintCaps(address MSD, address minter) public view return (uint256 cap)
PreviousiMSDTokensNextPrice Oracle

Last updated 2 years ago

Was this helpful?