Mai Finance is a decentralized application (dApp) that serves as the user interface for the QiDao Protocol, an open-source, non-custodial stablecoin protocol. The protocol allows users to borrow a USD-pegged stablecoin, MAI, at a 0% interest rate by using their cryptocurrency holdings as collateral. The system is governed by a decentralized autonomous organization (DAO) through its native token, QI. [1] [2]
Mai Finance enables users to lock their crypto assets into smart contracts known as "Vaults" to mint (borrow) MAI, a stablecoin soft-pegged to the U.S. Dollar. The core value proposition of the protocol is its 0% interest borrowing model. Instead of charging variable interest on loans, the protocol generates revenue through a one-time repayment fee charged when a user repays their debt to reclaim their collateral. This model allows asset holders to access liquidity from their holdings without selling them or incurring compounding debt. The protocol was created by a pseudonymous team, with a key contributor known as "0xLaoZi". [1] [3] [4]
The protocol is governed by the QiDao community, and holders of the governance token, QI, can vote on proposals to manage protocol parameters such as fee structures, collateral types, and risk management settings. Revenue generated from fees is partially distributed to users who stake the QI token. A key technical feature of Mai Finance is its native multi-chain deployment, which allows MAI to be minted directly on numerous blockchains, reducing the risks associated with bridged assets. [2] [5]
The QiDao Protocol launched in May 2021, initially on the Polygon network. [4] Following its launch, the protocol expanded its presence to other blockchains throughout late 2021 and 2022, including Fantom, Avalanche, Optimism, and Arbitrum. [5] By January 2022, the protocol had reached a milestone of $200 million in Total Value Locked (TVL). [6]
Mai Finance has faced several challenges and security incidents. In May 2022, the protocol was indirectly affected by the collapse of the Terra ecosystem. Its vault that accepted Anchor Protocol's aUST (a wrapped version of Terra's UST stablecoin) as collateral was drained as the value of UST dropped to nearly zero, contributing to a significant de-pegging event for MAI. [1]
A more direct security event occurred on April 8, 2022, when an exploit related to the protocol's integration with Superfluid on the Polygon network allowed an attacker to mint approximately $13 million worth of MAI without sufficient collateral. This unauthorized minting caused a severe de-pegging of the MAI stablecoin. The QiDao team created a compensation plan for affected users and implemented buybacks and other stability measures to restore the peg. Prior to this, in February 2022, the project's vesting contract was exploited, though user funds in vaults were reported to be safe. [5]
The MAI stablecoin has experienced other periods of price volatility. In October 2023, MAI de-pegged significantly, falling to an all-time low of approximately $0.65. [3] These events highlight the risks associated with crypto-collateralized stablecoins, particularly during periods of high market stress or following exploits. [7]
QiDao is a fork of the MakerDAO protocol and operates on a similar model of overcollateralized debt. [8] Its architecture is built around several core components that work together to facilitate borrowing and maintain stablecoin solvency.
The primary function of Mai Finance is to allow users to mint MAI through a system of "Vaults," which are non-custodial smart contracts functioning as Collateralized Debt Positions (CDPs). The process is as follows: [4]
MAI is a decentralized stablecoin soft-pegged to the U.S. Dollar. On the Polygon network, it is often identified by the ticker miMATIC. The protocol employs several mechanisms to maintain this peg: [3] [1]
If a Vault's collateralization ratio falls below its required MCR due to a drop in the collateral's price, it becomes eligible for liquidation. In a liquidation event, the Vault's MAI debt is repaid by a third-party liquidator, who in return receives the deposited collateral at a discount (a liquidation penalty, typically 10%). This process ensures the protocol remains solvent by closing undercollateralized positions before they become bad debt. The liquidation penalty also serves as a source of revenue for the protocol. [1] [5]
A key differentiator for MAI is its native multi-chain design. Unlike stablecoins that are minted on one primary chain and then bridged to others, MAI is minted directly on each supported blockchain using collateral from that specific ecosystem. This approach is intended to eliminate the systemic risk associated with a centralized bridge being compromised. [2] The protocol is deployed on over 15 blockchains, including:
The protocol accepts a wide variety of crypto assets as collateral, which are approved via governance votes. These include major cryptocurrencies (like ETH and BTC), stablecoins, and various interest-bearing tokens, such as Aave's aTokens, Stader Labs' MaticX, and Liquidity Provider (LP) tokens from decentralized exchanges like Balancer and QuickSwap. [1] [9]
For accurate and secure price data, which is essential for calculating collateral values and triggering liquidations, the QiDao Protocol exclusively uses Chainlink Price Feeds. This is a measure to mitigate risks related to price manipulation. [4] [8]
While charging 0% interest on loans, the QiDao protocol generates revenue through several fees: [9]
The revenue collected by the protocol is distributed between the DAO treasury and stakers of the QI token. According to an analysis by Exponential.fi, the distribution is as follows:
QI is the native governance and revenue-sharing token of the QiDao Protocol. QI holders can create and vote on QiDao Improvement Proposals (QIPs) to influence protocol parameters, such as adding new collateral types, adjusting fees, or allocating treasury funds. This governance process typically begins with community discussions (QiDao Community Ideas or QCIs) before being formalized into a QIP for a vote on platforms like Snapshot. [1] [6]
To participate in governance and earn protocol revenue, users can lock their QI tokens. In return, they receive an escrowed, non-transferable token (referred to as eQI or aveQI). The amount of eQI received is proportional to the amount of QI locked and the duration of the lock, which can be up to four years. Holding eQI provides holders with two main benefits:
Mai Finance has integrated with numerous projects across the DeFi ecosystem. Key partners include: