CircuitsDAO

Stablecoin infrastructure deployed as an appchain powered by Protokit.

ETHOnline 2024Shipped August 23, 2024Prize winner#defi#payments#dao#security
Repo
CircuitsDAO banner

About

Overview

This project implements an overcollateralized stablecoin system called msUSD as an appchain using the Proto Kit framework. It's designed to maintain a stable value pegged to the US dollar, using MINA as collateral. The system incorporates various mechanisms to ensure stability, manage risk, and handle extreme market conditions.

Key Components

1. Stablecoin (msUSD): The primary asset, designed to maintain a 1:1 peg with the US dollar. 2. Collateral (MINA): The backing asset used to mint msUSD. 3. Stability Pool: A liquidity pool that helps stabilize the system during price fluctuations. 4. CircuitsDAO: A governing entity responsible for key parameter updates. 5. Emergency Fund: A reserve to handle extreme market conditions.

Core Functionalities

1. Minting and Burning 1.1. Minting: Users can create new msUSD by providing MINA as collateral. The amount of collateral required is determined by the current collateral ratio and MINA/USD price. 1.2. Burning: Users can redeem their msUSD for MINA collateral, subject to a 15-day cooldown period after minting.

2. Price Stability Mechanisms

2.1. Price Checks: The system regularly checks the msUSD price and can lock or unlock based on predefined thresholds. 2.2. Stability Pool Operations: 2.2.1. For low prices: Burns msUSD from the stability pool. 2.2.2. For high prices: Mints new msUSD into the stability pool. 2.3. Dynamic Reward Rates: Adjusts reward rates based on price deviations to incentivize stabilizing actions. 2.4. Emergency Fund Utilization: In extreme cases, uses reserved funds to stabilize the price.

3. Liquidity Provision

3.1. Users can provide liquidity to the stability pool in the form of MINA or msUSD. 3.2. Liquidity providers can withdraw their contributions.

4. Fee System

4.1. Fees are collected on minting, burning, and transfers. 4.2. Fees are distributed between a treasury and an emergency fund.

5. Governance

5.1. The CircuitsDAO can update critical parameters like the collateral price and ratio.

Advanced Features

1. Depeg Tolerance: 1.1. System locking mechanism for extreme price deviations. 1.2. Multi-tiered stabilization approach (stability pool, emergency funds). 1.3. Dynamic reward rates to incentivize corrective actions. 2. Failsafes: 2.1. Emergency fund utilization in extreme scenarios. 2.2. System locking to prevent operations during high volatility.

3. Scalability:

3.1. Uses UInt224 for large number handling, allowing for significant growth.

4. MEV Protection:

4.1. Being an appchain, it's inherently protected from MEV (Miner Extractable Value) attacks.

5. Verifiable State:

5.1. The entire state of the system is verifiable, enhancing transparency and trust.

Potential Use Cases

1. Stable Asset for DeFi: msUSD could serve as a stable asset for various decentralized finance applications built on the MINA ecosystem. 2. Trading Pair: It could be used as a stable trading pair against other cryptocurrencies. 3. Store of Value: Users looking for stability within the Mina ecosystem could use msUSD. 4. Cross-Border Transactions: As a stable asset, it could facilitate international transactions with reduced volatility risk.

Limitations and Considerations

1. Centralization Risk: Reliance on CircuitsDAO for crucial updates introduces a degree of centralization. 2. Collateral Volatility: The system's stability is tied to MINA's market performance. 3. Complex Stabilization Mechanisms: The multi-layered approach, while robust, may be complex for average users to understand. 4. Fixed Cooldown Period: The 15-day cooldown for burning might be restrictive in rapidly changing markets. 5. No Partial Collateral Release: Users must burn all their msUSD to release collateral, which might be inconvenient.

Conclusion

The msUSD system represents a sophisticated approach to creating a stable asset in the cryptocurrency space. Its design incorporates multiple layers of stabilization mechanisms and failsafes, aiming to maintain peg stability even in volatile market conditions. While it offers robust features for stability and transparency, it also comes with inherent risks and complexities that users and developers should be aware of. As an appchain, it benefits from enhanced security and verifiability, potentially making it an attractive option for those seeking a stable asset within the MINA ecosystem.

Prizes

  • Mina Protocol · Best Mina application or library built using Protokit · 3rd place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Anchor

A yield-bearing rebasing stablecoin pegged to the USD, backed by over-collateralized stETH.