← Index
Source: projects/verex/docs/features/markets-as-tokens.md (auto-generated by scripts/generate-docs-html.mjs — edit the .md, not this file)

Markets as Tokens — Outcome Shares as Composable Assets

Idea: a prediction market's outcome shares are not platform-internal records but freely transferable standard tokens — so the whole ecosystem's DeFi stack (AMMs, bots, lending) composes with them automatically.

Source: jay's "Markets as tokens" note (Kalshi × Solana SPL example), pasted in session 2026-07-17 (no URL — this doc is the canonical copy).

1. The Kalshi × Solana example (from the note)

2. Where Verex already stands — and the gap

3. Dev considerations

# Item Notes
1 Wrapper research (~0.5d) Survey wrapped-1155 patterns (Polymarket ecosystem adapters, generic ERC-1155→20 wrappers); per-outcome wrapper (1 ERC-20 per YES/NO of a condition) is the standard shape
2 WrappedOutcome contract PoC wrap/unwrap between CTF 1155 balance and an ERC-20; Foundry tests for the round trip + redeem-after-resolution path
3 External-listing demo seed a testnet Uniswap pool with wrapped-YES ↔ USDC; show a swap executed by a party that knows nothing about Verex — composability proven
4 (you) Scope decision Is external composability in scope before S6, or post-roadmap? It competes for liquidity with the internal hybrid AMM (hybrid-amm-clob.md) — see trade-off below

4. Trade-offs / open questions

Status

Backlog / exploratory — post-S2; revisit when the hybrid AMM lands. Listed in the features README Categories table.