MCDEX – 10x Perpetual Contracts Powered by Order Book/AMM Hybrid

Chaz Schmidt
-
Jul 14, 2021
|7 minutes read

DeFi has been on fire lately. Following the space has been absolutely riveting. We’ve got another sneak peek of an interesting DeFi protocol for you today. The folks over at MCDEX have taken decentralized perpetual contracts and combined them with a hybrid on-chain AMM/off-chain order book in their recent upgrade MCDEX V2.

MCDEX’s first decentralized perpetual contract ETH-PERP launching Monday June 29th, 2020 makes full use of this hybrid model to enable users to trade ETH/USD perpetual contracts with up to 10x leverage and no expiration. Additionally, MCDEX has recently proposed a new AMM price formula which enables lower slippage, better capital efficiency, and near 0 impermanent loss for liquidity providers.

What is MCDEX?

Before we dive into the tech, I think it is useful to understand what inspired MCDEX. The team that built MCDEX is a team from China formerly involved in PoW mining. They saw the potential in DeFi and decided to build products that make investing in DeFi easier to continue contributing to the ecosystem as the industry transitions to ETH2.0. Personally, I think the team’s foresight is readily apparent in many of their designs. So without further ado, let’s dive into it.

MCDEX is a decentralized derivatives exchange for traders to long/short efficiently and securely. MCDEX is built on the Mai Protocol V2. Fun fact: the name Mai is actually a pun made with the pinyin for two Chinese characters măi “买” meaning buy and mài “卖” meaning sell. Funny enough, that’s exactly what the Mai Protocol does: reduce the complexity of trading decentralized perpetual contracts down to just buy or sell. Historically, decentralized derivatives required many steps; MCDEX eliminates the extra step, streamlining the process and making it more approachable to new users. Additionally, security audits for MCDEX’s Mai Protocol V2 and perpetual contracts have been completed by OpenZeppelin and ConSensys Diligence.

hybrid architecture of Mai Protocol V2

As previously mentioned, what makes MCDEX unique is its combination of perpetual contracts with an off-chain order book / on-chain AMM hybrid. This hybrid model gives traders the best of both worlds. The off-chain order book provides traders with the look and feel of a centralized exchange while the AMM provides reliable on-chain liquidity.

There’s a sort of symbiosis between the two; the order book offers efficient liquidity but tends to be a bit more centralized whereas the AMM’s liquidity is always available to both traders and other smart contracts on-chain. This opens up a world of possibilities for these perpetual contracts to be used in the wider DeFi ecosystem.

Introducing the AMM to MCDEX not only provided reliable on-chain liquidity, it also enabled a key feature of perpetual contracts: funding rate. In a nutshell, the funding rate’s purpose is to balance out long or short orders in times of high demand to maintain an accurate index price. So naturally, the funding rate is dynamically adjusted by the protocol in response market demand. For example, when the funding rate is positive it means long position holders pay to fund short positions (short position holders). This incentivizes users to take up the short side of the trade effectively balancing demand for both sides.

This is where the AMM and off-chain order book work so nicely together. The funding rate needs to be derived on-chain to be sufficiently decentralized but on-chain trading isn’t always ideal for traders. Liquidity and trading activity will naturally gravitate towards the efficiency of the off-chain order book, but arbitrage opportunities between the order book and AMM improve the AMM’s liquidity and earn more fees for liquidity providers. Not to mention, many of you will be happy to hear ETH-PERP takes advantage of Chainlink’s ETH/USD Price Reference Contract live on the Ethereum mainnet as its index price feed.

Trade ETH-PERP with up to 10x leverage

MCDEX is set to launch ETH-PERP trading on Monday June 29, 2020. Get a sneak peek at the interface today.

MCDEX’s trading interface was designed to be intuitive with a familiar look and feel for experienced traders yet simple enough for new users. I liked how all the info I needed was laid out in the interface; I found the Etherscan links for contract and asset addresses particularly helpful.

Traders will appreciate the performance of MCDEX’s order book interface. With its speed, efficiency, and support for features like limit orders you might find yourself surprised you aren’t trading on a centralized exchange.

Order book trading interface
AMM interface

If you’re familiar with other popular perpetual contract exchanges like BitMEX, it’ll take no time at all to get settled in. Head over to MCDEX and explore it for yourself.

Looking towards the future

Many aspects of MCDEX’s design illustrate the team’s willingness to learn from battle-tested concepts in DeFi and desire to contribute the ecosystem’s long-term success. Take for example, 1% out of the 2.5% liquidation penalty automatically goes to an insurance fund. You can find more info about MCDEX’s roadmap in the whitepaper.

Structured funds enable new strategies for even inexperienced DeFi users

Trading perpetual contracts isn’t everyone’s cup of tea but that doesn’t mean they won’t be able to get in on the action. While perpetual contracts are MCDEX’s first product, the team plans to release structured trading funds for various risk preferences. This creates the opportunity for even inexperienced traders to take part in perpetual contract trading.

Structured funds on MCDEX will allow anyone to deposit assets and automatically trade perpetual contracts with a robotic or human-managed fund strategy. This creates the opportunity for MCDEX users to expose themselves to many different strategies and potentially maximize their profits. Not to mention, fundholders will be eligible for liquidity mining incentives…

MCB token and Liquidity Mining

MCDEX plans to launch a native token (tentatively in Q3 2020) called MCB token to align its stakeholders, a portion of which will be distributed through liquidity mining to incentivize users to invest in funds. Once launched, MCB tokens will be distributed to the funds based on their net asset value at a fixed amount per day. This should effectively incentivize users to invest in the funds that perform the best whether they be a social or automated funds. Put simply, the better a fund performs, the faster its net asset value grows, the more MCB tokens fundholders are rewarded. Social fund managers will even receive a cut of the MCB they earn for fundholders.

Initial distribution of MCB tokens

  1. 25% to founding team and early investors
  2. 25% to MCDEX Foundation for token sale to cover expenses such as development, audits, market makers, marketing, etc.
  3. 50% to user incentives with a limit up to 5% per year.

That limit of 5% a year stuck out to me as something interested because it means that user incentives are planned for a minimum of 10 years. This fits well into MCDEX’s roadmap to add more user incentives and eventually enable on-chain governance run by MCB token holders.

Trading competition

To celebrate the launch of their ETH-PERP smart contract, MCDEX is holding a trading competition with prizes up to $2500 + 2500MCB. The competition will begin on June 29th, 2020 from 12:00 pm UTC, and will close on July 13, 2020, at 12:00 pm UTC. More details can be found here.

Concluding thoughts

Ultimately, I find it very encouraging how MCDEX seems to understand the necessity of balancing ease of use, efficiency, decentralization and sustainability when designing smart contract systems. On a personal note, I enjoyed poking through Mai Protocol V2 to write this article because it reminds me again how we’re truly on the cutting edge here in DeFi.

We highly recommend you check out MCDEX and see for yourself how the order book enables a smooth and efficient trading experience. Stay tuned for more details regarding MCB liquidity mining. In the mean time, click here to head over to MCDEX and get started trading perpetual contracts today.

Disclosure: This post is part of our DeFi Pulse Drops promotional series; We’ve partnered with MCDEX to inform the community about their protocol. As always, we’re committed to providing the entire community with quality, objective information, and any opinions we express as part of a DeFi Pulse Drop are our own.