Mai Finance - Tutorials
🇺🇸/🇬🇧 English
🇺🇸/🇬🇧 English
  • The Unofficial Guide to Mai Finance
  • Tutorials
    • Polygon
      • How to get started on Polygon
      • Leverage Your Aave Market Tokens
      • camDAI beginner strategy
      • Farming using only stable coins
      • What to do with MAI on Polygon
      • What to do with Qi on Polygon
      • Stack DApps like Lego bricks
      • Farming or Staking? Or both?
      • How to combine farming and borrowing rewards
      • OHM forks on Polygon: The case of KLIMA
      • MAI single-staking with Ethalend
      • The Elephant, the Chimp and the Otter
      • From Traditional Finance to DeFi with Jarvis
      • DCA in bear and bull markets
      • Guides for Polygon supporters with Qi DAO
    • Avalanche
      • How to get started on Avalanche
    • Fantom
      • How to get started on Fantom
      • Leverage your crypto on Fantom
      • What to do with MAI on Fantom
      • Farming loop using SpiritSwap
      • Exodia Combo on Fantom
      • A Spooky Symfony
    • Moonriver
      • How to get started on Moonriver
      • Farming MAI on SolarBeam
    • Cronos
      • How to get started on Cronos
      • Farming Legos with CroDex
    • Harmony
      • How to get started on Harmony
      • One LP Pair, Many ways to farm
    • Gnosis Chain
      • How to get started on Gnosis Chain
    • Optimism
      • How to get started on Optimism
      • Three things have to notice before taking OP QiDao quest
      • Starter Guide for wstETH yield on Optimism
    • Arbitrum
      • How to get started on Arbitrum
    • BNB Chain
      • How to get started on BNB Chain
    • Moonbeam
      • How to get started on Moonbeam
      • Playing with MAI legos on StellaSwap
  • MAI University
    • Earning Passive Income with QiDAO
    • How does MAI work?
    • MAI loans and Vaults incentives
    • Debt repayment - Why and When?
    • Debt repayment - How?
    • MAI Metaverse
    • MAI Metaverse Pt.2
    • How to use MAI in the real life
    • How to interact directly with QiDao’s contracts
  • Join the Community
    • Discord
    • Telegram
    • Twitter
    • Use the app
Powered by GitBook
On this page
  • What is a stable coin?
  • The IRON Finance disaster
  • What is MAI?
  • Why is it always close to $1?
  • Anchor
  • Depositing collaterals in vaults
  • Afterword
  • Disclaimer

Was this helpful?

  1. MAI University

How does MAI work?

Getting a good understanding about how MAI works is crucial for any investor that really wants to understand Mai Finance, so in this article you will understand how MAI works.

PreviousEarning Passive Income with QiDAONextMAI loans and Vaults incentives

Last updated 3 years ago

Was this helpful?

What is a stable coin?

Before getting into what is MAI, we have to understand what is a stable coin, a stable coin is a type of cryptocurrency that is designed to maintain a stable market price. Most of the stable coins are pegged (a currency where the price is designed to remain the same as a designated asset) to the US dollar, but you can find other stable coins pegged to other commodities such as gold (like EGold) or silver (SilverCoin).

However, there are 2 main categories in which all stable coins can fit, collateralized or non-collateralized. The collateralized stable coins are those that hold the assets against which their coin is pegged, meanwhile the non-collateralized make use of algorithms to control the supply of tokens in order to keep the price fixed at a predetermined level.

The IRON Finance disaster

If you've been around in crypto for some time, you may remember the disaster of the TITAN and IRON token, but for those of you who don't, here is a quick recap. IRON Finance was a project that had 2 tokens, the IRON stable coin and the TITAN token, however the IRON stable coin wasn't fully backed with stable coins, the proportion to mint IRON was 75% USDC and 25% TITAN token. So it was basically a recipe for disaster.

In June of 2021 the TITAN token reached an ATH of $65, which caused that a bunch of investors, who invested heavily in the coin, decided to sell. This caused a problem because TITAN is priced based on supply and demand. So as the available supply of TITAN increased, the price began to decrease. This caused a huge sell pressure so the price of TITAN fell even faster, so when TITAN began to fall rapidly, IRON lost its backing and eventually its peg.

People started buying the IRON stable coin to sell it for USDC and earn some quick bucks, in a huge arbitrage opportunity (this means profiting in the price variations of tokens) Long story short, it's been calculated that almost $1.75 billion were lost in this incident. Now, is there a difference between the IRON stable coin and the MAI stable coin?

What is MAI?

MAI is a stable coin that is backed by locked collateral tokens, the minting of MAI can be done either through depositing approved collateral in vaults or through using Anchor.

When minting MAI depositing approved collateral, the CDR (Collateral to Debt Ratio) needs to be between 150%, this means that if you deposit $100 worth of collateral, the newly minted MAI can be at most worth $66.6667. We'll get to the reason behind this later in this article.

Why is it always close to $1?

The peg to $1 is maintained by 2 mechanisms, via Anchor or by depositing collateral in the vaults, in this section of the article, you'll understand why

Anchor

Anchor allows users to mint MAI with stable coins and redeem stable coins from MAI. Also, as you can see on the picture below, there's a 1% fee when swapping your stable coins for MAI or vice versa, there are two main reasons for these fee:

  • The 1% minting fee to create MAI sets a price ceiling of $1.01.

  • The 1% fee to redeem stable coins from MAI sets a price floor of $0.99

Having a price ceiling and a price floor helps MAI to not diverge from its peg too much, however as you've seen on the picture of the MAI chart, you can participate on low- risk arbitrage opportunities (meaning that you can sell your stable coins when MAI is under $1 or sell MAI when is above $1 to earn some quick bucks).

About what causes the fluctuation of the price of MAI, there could be two main reasons for this:

  • If the market is in a bearish trend: people will sell their volatile assets and buy more stable coins to avoid losing value of volatile assets. This means that people want to buy MAI, increasing its price.

  • If the market is in a bullish trend: people buy more volatile assets when their price is low, using their stable coins. This means that people sell their MAI, driving its price down.

Depositing collaterals in vaults

In order to mint MAI using the vaults in Mai Finance, you need to deposit some collateral in there and have a CDR (Collateral to Debt Ratio) above a certain threshold, in this case is 150% (however this percentage can change in the future if the community decides so). This means that the vaults will always be over-collateralized (by 150%) to ensure that there is always collateral value to back the stable coins minted. Remember that if a vault has less than a 150% CDR it could be partially liquidated by the community, so somebody could loose some of their collateral if a liquitador pays some of their debt.

As the value of the collateral rises, more stable coins can be issued as a rise in collateral price will increase your collateral to debt ratio. Conversely, as the value of the collateral falls, fewer stable coins can be issued, this is done to prevent that the CDR falls below the 150% mark.

Afterword

As you've seen throughout this article, the MAI stable coin is a type of stable coin that is over-collateralized, meaning that there will always be enough collateral to back the price of the MAI token. This should give enough relief to those investors who hesitate about investing in projects that mint stable coins. Also, keep in mind that as MAI is expanding to other blockchains, there'll be more MAI in the market, resulting in less volatily in MAI's price.

Recently, the vaults incentives have been introduced to Mai Finance, if you want to understand what that is, stay tuned because there'll be an article about this topic. This will help even more to the stability of the MAI price.

Disclaimer

This guide is definitely not financial advice, it was made with an educational goal in mind.

Keep in mind that a strategy that works well at a given time may perform poorly (or make you lose money) at another time. Please stay informed, monitor the markets, keep an eye on your investments, and as always, do your own research.

Another way to mint MAI is through the , this means that when you swap a stable coin (as of September 2021 you can mint MAI using DAI, USDC and USDT) for MAI, new MAI is minted by the treasury and the deposited stablecoin is held in the treasury as collateral. Meanwhile, when you swap back your stablecoins, the MAI that you provide will be burned.

As you can see on the picture below, the price of the MAI stable coin it's almost always close to $1, this is because as the says, the MAI stable coin allows users to engage in risk-free arbitrage through Anchor when the price of MAI falls below $0.99 or rises above $1.01.

You can findthe original article of the Mai Finance team about MAI .

Anchor
official documentation
here
Price chart of the TITAN token
Price chart of the IRON stablecoin
Stablecoins that can be swaped to mint MAI
Price chart of the MAI token in the last 90 days