Token ID Generation
Each token ID is deterministically computed using a hash of:- Market ID - The prediction market identifier (e.g.,
"BTC-100K-2024-12") - Side - The outcome side (e.g.,
"yes","no","Lakers","Celtics") - Exchange - The exchange name
Token Metadata
Each token includes metadata such as:- Market title and description from the prediction market
- Outcome side information
- Token name and image
- Market rules and details
Token Lifecycle
Buy Orders:- Order is placed on the prediction market
- When filled, ERC-1155 tokens are minted to your smart wallet
- Tokens represent your position in that market
- You hold ERC-1155 tokens in your smart wallet
- Order is placed on the prediction market
- When filled, tokens are burned from your wallet
Benefits
- On-chain ownership - Positions are held as NFTs in your wallet
- Transferability - Tokens can be transferred, traded, or used as collateral
- Composability - Tokens can be integrated with DeFi protocols
- Transparency - All positions are verifiable on-chain
