Example Lifecycle

Example: MIG Lifecycle on Base

1. Creation

  • Creator (Alice) opens MIGFactory via miradaos.ai.

  • Parameters:

    • Duration = 7 days

    • Validation = Mira AI

    • Model = Adaptive

  • Alice stakes 1,000 $MIRA → locked in MIGFactory.

  • New MIG contract deployed on Base with unique ID.

  • MIG auto-published:

    • Listed on miradaos.ai

    • Announced by @miraagent bot


2. Betting Phase

  • Bob bets 500 USDC on Outcome A.

    • Betting contract updates pool:

      • Pool A = 500, Pool B = 0 → Odds A=100%, B=0%.

  • Carol bets 1,000 USDC on Outcome B.

    • Pools update:

      • A = 500, B = 1,000 → Odds A=33.3%, B=66.6%.

  • Dave bets 500 USDC on Outcome A.

    • Pools update:

      • A = 1,000, B = 1,000 → Odds A=50%, B=50%.

At T = 7 days → betting closes.

  • Final Pools:

    • Outcome A = 1,000 USDC

    • Outcome B = 1,000 USDC

    • Total Pool = 2,000 USDC


3. Resolution Phase

  • Mira AI fetches data (ex: Twitter event result).

  • AI signals Outcome A = TRUE.

  • Alice confirms Outcome A via Resolution.

  • $MIRA holders vote:

    • 80% agree with Outcome A → majority approves.


4. Payout & Distribution

  • Protocol fees applied:

    • 2% → voters = 40 USDC

    • 1% → creator (Alice) = 20 USDC

    • 1% → treasury = 20 USDC

    • 1% → $MIRA stakers = 20 USDC

    • Net pool to winners = 1,900 USDC

  • Winners (Outcome A backers):

    • Total A stake = 1,000 USDC

    • Bob (500 USDC) → gets 950 USDC

    • Dave (500 USDC) → gets 950 USDC

  • Losers (Outcome B backers):

    • Carol loses 1,000 USDC stake.


5. Creator Alignment

  • Alice keeps her 10,000 $MIRA stake since outcome was valid.

  • If vote had overruled her decision → her stake would be slashed (burned).


📊 Summary of Flow:

  1. Deploy MIG → stake $MIRA → parameters set.

  2. Betting phase → USDC staked, odds updated.

  3. Resolution → AI + creator + token vote.

  4. Settlement → fees distributed, winners paid, misconduct punished.

Last updated