How a MIG works ?

MIG for phase 1

Technical Documentation: MIG Lifecycle on MiraOS

Overview

MIGs (Mira Interactive Games) are decentralized prediction markets deployed on MiraOS, accessible via miradaos.ai. Each MIG allows participants to stake USDC on competing outcomes within a defined time frame. The system is powered by Mira AI, user creators, and $MIRA token holders, ensuring fairness, decentralization, and community-driven validation.

This document covers the technical specifications of MIG creation, operation, and resolution.


Step 1: MIG launch process

1.1 Creation interface

MIG creation is initiated through a chatbot interface with Mira, available on miradaos.ai. The chatbot guides the creator through essential parameters:

  • Duration:

    • Maximum duration: 30 days.

    • Defined in seconds since deployment.

  • Validation method (select one):

    1. Mira AI: Automated verification via off-chain signals (e.g., Twitter account scan, data feeds).

    2. Creator decision: The MIG creator directly provides the outcome.

    3. API-based sources: Integration with third-party APIs such as Polymarket, Kalshi, or asset price feeds.

  • Probability model:

    • Linear model:

      • At resolution, winners share the losers’ pool proportionally.

      • Formula:

Payouti=StakeijWinnersStakej×PoolTotalPayoutiPayouti= \frac{Stake_i}{\sum_{j \in Winners} Stake_j} \times Pool_{Total}Payouti
  • Adaptive model:

    • Odds continuously update based on ratio of USDC staked on each outcome.

    • Formula for outcome i at time t

Oddsi(t)=Stakei(t)jStakej(t)Oddsi(t)=Stakei(t)jStakej(t)Oddsi(t)=jStakej(t)Stakei(t)Oddsi(t)=Stakei(t)∑jStakej(t)Odds_i(t) = \frac{Stake_i(t)}{\sum_{j} Stake_j(t)}Oddsi​(t)=∑j​Stakej​(t)Stakei​(t)​
  • Ensures participants receive MIGxUSDC proportional to live odds at the time of betting.

  • Slashing protection:

    • Minimum stake of 10,000 $MIRA required to deploy a MIG.

    • If the creator’s resolution is invalidated by community consensus, the staked $MIRA is burned.

1.2 Publishing and Distribution

  • Once deployed, the MIG is automatically:

    • Published on miradaos.ai.

    • Promoted via the @miraagent Twitter account.

    • Shareable via custom front ends built by users.


Step 2: Game Phase

  • Betting Mechanism:

    • Participants stake USDC on their chosen outcome

USDC (Base) : 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • Open to anyone with access to MIG interfaces (web, Twitter bot, custom dApps).

  • Liquidity Dynamics:

    • For linear models, stakes accumulate until resolution.

    • For adaptive models, odds dynamically adjust after each bet.

  • Access Points:

    • miradaos.ai (official interface).

    • @miraagent Twitter bot (automated participation).

    • Custom front ends (community-driven integrations).


Step 3: Resolution Phase

At the end of the MIG duration, outcomes are resolved through a multi-layered validation mechanism:

3.1 Resolution Decision Sources

  1. Creator’s Decision – The creator proposes an outcome.

  2. Mira Agent Validation – Automated AI validation of the outcome.

  3. $MIRA Holders’ Vote – Token holders cast governance votes.

3.2 Overrule & Slashing

  • If the creator’s decision is overruled by a majority of $MIRA holders:

    • The creator’s staked $MIRA is burned.

    • Protocol safeguards are activated.

3.3 Distribution of Rewards

After resolution:

  • Majority voters: Receive 2% bonus from the prize pool.

  • Creator: Earns 1% (redirected to protocol if misconduct detected).

  • Protocol Treasury: Receives 1%.

  • $MIRA Stakers: Receive 1%.

  • Remaining pool: Distributed to winners based on selected probability model.

Last updated