Docs
How it works

A market's lifecycle

One market from suggestion to payout, every stage in one place, with who acts at each step, what's at stake, and how each stage can end.

Every MEZONK market goes through the same stages: someone suggests it, a curator approves it, an approved creator publishes it, seeders fund its first orders, people trade it, trading closes, the outcome is proposed and possibly challenged, and finally holders claim. This page puts the whole journey on one screen. Each stage links to the page with the full detail.

The whole journey

The diagram shows the main path along the top and the exits underneath: a market that isn't seeded in time fails and refunds everyone, and a market whose resolver or arbitrator misses a deadline ends Invalid.

Market lifecycle: suggested, approved, seeding, live, closed, proposed, optionally challenged and arbitrated, then final; failed seeding refunds seeders and missed resolution deadlines settle InvalidSuggestedoff-chainApprovedcurator's EIP-712 signatureSeedingStage.SeedingLiveStage.LiveClosedRStage.AwaitingProposala curator signs an approvalan approved creator publishes itrules met: anyone presses Launchclose time passesFailedStage.Failed · refunds onlydeadline passes before launchEach seeder cancels and gets every MUSD back.Proposedoutcome, evidence, bondFinalYes · No · InvalidChallengedRStage.DisputedArbitratedruling + rationaleresolver proposesno challenge in time:anyone finalizessomeone disputesarbitrator rulessettles at onceFinal: Invalidanyone calls finalize() · 0.5 MUSD a shareno proposal in timeno ruling in timeSilent resolverif the resolver is silent for half theproposal window, anyone may propose.1234567
  • Off-chain (servers, data)
  • MEZONK contracts
  • Success path
  • Failure path
Follow the green arrows: that is the path most markets take. The red exits never wait for MEZONK: if a market doesn't launch before its seeding deadline, seeders cancel their orders and get every MUSD back, and if a resolver or arbitrator misses a deadline, anyone can finalize the market as Invalid (0.5 MUSD a share).

In words:

  1. Suggested. Anyone writes a question, its rules, a source and a close time. Off-chain, free.
  2. Approved. A curator reviews it against the policy and signs an approval with their wallet. Off-chain signature, free.
  3. Published (seeding). An approved creator puts it on-chain with the curator's signature. The rules are fixed forever from this moment. Nobody can trade yet.
  4. Live. Once seed orders meet the launch rules, anyone launches it and trading opens. If the seeding deadline passes first, it fails and every seeder is refunded.
  5. Closed. Trading stops at the close time. Closing decides nothing.
  6. Proposed. The resolver proposes Yes, No or Invalid with evidence and a bond.
  7. Challenged (sometimes). Anyone can challenge within the challenge window, and the arbitrator rules.
  8. Final. Winning shares pay 1 MUSD, Invalid pays 0.50 per share. Claims never expire.

Stage by stage

StageWhat can happenWho actsWhat's at stake
Suggested (draft, submitted, under review, changes requested)Write, edit, submit, withdraw; claim for review, ask for changes, rejectAuthor; curatorsNothing. No money, nothing on-chain
ApprovedPublish within the approval's deadline (at most 14 days); a curator or the owner can void the approvalApproved creator named in the approvalNothing yet. The approval binds the exact rules, creator, resolver, close time and policy
SeedingPlace escrowed buy orders; cancel them after the lock; launch once the checks passSeeders; anyone can launchSeeders' locked MUSD, fully refundable if the market fails
FailedRefunds onlySeedersNothing lost but network fees. No winners, no losers
LiveTrade, place and cancel orders, split, merge; seeder rebates accrueTraders and makersEvery open position. Seed orders can now fill
ClosedNo trading. Merge, cancel resting orders, transfer shares; the resolver proposesResolverPositions wait for the outcome
ProposedChallenge during the window; finalize after itAnyone except the resolver and arbitrator challenges; anyone finalizesThe proposer bond
ChallengedArbitrator rules with a rationale; if it doesn't in time, anyone finalizes as InvalidArbitrator; anyone after the deadlineBoth bonds, and the outcome
FinalClaim payouts; withdraw bonds; seeders claim rebates within the claim windowShare holders, bond holders, seedersNothing further. Payout claims have no deadline

Details: suggesting, seeding, trading, resolution, payouts.

A worked timeline

Today's settings for new markets (check the live values on Fees and incentives): seeding up to 7 days, at least 1 day live after the seeding deadline, a 3-day proposal window, a 1-day challenge window, a 7-day arbitration window.

A market is published on a Monday and closes at 12:00 UTC on Friday of the following week.

When (UTC)What happens
Monday 09:00The creator publishes. Seeding can run until the next Monday 09:00
Monday 09:35Seed orders meet the launch rules. Someone presses Launch market. Trading opens
The next 11 daysPeople trade. Seeder rebates accrue for 30 days from launch
Friday 12:00, week 2Trading closes
Friday 13:00The resolver proposes an outcome. The challenge window runs to Saturday 13:00
Saturday 13:00Nobody challenged. Anyone presses Finalize. Holders claim

If the resolver had stayed silent, anyone could have proposed from Sunday 00:00, a day and a half after close. If nobody proposed at all, anyone could have finalized as Invalid from Monday 12:00, three days after close. If someone had challenged and the arbitrator stayed silent, Invalid would have been available at most 3 + 1 + 7 = 11 days after close. Those are the longest any market can wait.

How the contract knows the stage

The exchange doesn't store a status field that could drift out of sync. It derives the stage from timestamps and two flags every time it's asked:

MezonkExchange.sol
function _stage(Market storage m) internal view returns (Stage) {
    if (m.finalized) return Stage.Finalized;
    if (m.graduatedAt == 0) return block.timestamp > m.seedingDeadline ? Stage.Failed : Stage.Seeding;
    if (block.timestamp >= m.closeTime) return Stage.Closed;
    return Stage.Live;
}

Inside the Closed stage, MezonkResolution adds its own sub-stages: awaiting a proposal, proposed, challenged, finalized. The app reads these from the chain and compares deadlines with the latest block's time, never your device clock, so a wrong clock can't show you a wrong stage.

Suggested and approved live only in MEZONK's backend: they are a review workflow. The backend can't make a market tradable. Only a curator's signature plus an approved creator's transaction can publish, and only funded seed orders can launch.

What the owner can and can't do at each stage

The owner can pause the exchange. Pausing blocks publishing, new orders, takes, splits and launches. It never blocks cancelling orders, merging, refunds, resolution, finalization, claims or bond withdrawals, so nobody can be trapped. A pause doesn't extend a seeding deadline, so a market can fail during a long pause; its seeders are still refunded.

The owner can't change a market's rules, policy, resolver, arbitrator, windows or bonds once it's published, can't move user funds, and can't choose an outcome. See Roles.

Next