The 500ms Rhythm
Likely operates in a continuous cycle:- Window opens - traders submit bundles
- 500ms passes - bundles compete
- Window closes - top bundles execute
- Repeat - next auction begins immediately
How Bundles Compete
During the auction window, you can:
The strategy: Do you bribe to jump ahead, or keep your early timestamp? This creates interesting dynamics, especially for arbitrage opportunities where multiple traders compete.
Priority Rules
Bundles execute in strict order:- Highest tip goes first
- Oldest submission breaks ties (if tips equal)
- One bundle per user (your latest replaces earlier ones)
What Happens at Auction Close
When the 500ms window ends: 1. Load traders (instant)- System loads all users with bundles
- Fast access via cache
- Process bundles from highest tip to lowest
- Each bundle succeeds or fails atomically
- Skip “ghost” entries (from amended/bribed bundles)
- Successful bundles: Full tip → market makers who filled orders
- Failed bundles: Small tip portion → protocol liquidity fund
- Unselected bundles: No tip payment
- Generate orderbook snapshots
- Broadcast new prices to all clients
- Clear auction state
- New window opens immediately
- Cycle continues
The Vickrey (Second-Price) Logic
Likely uses a Vickrey Auction model for the highest-priority bundle. This means the winner pays the second-highest tip declared in that batch rather than their own. Why this matters:- Incentive Compatibility: Traders are encouraged to bid their true valuation (truthful bidding).
- No Overbidding: Prevents “gas-war” dynamics where users bluff with massive tips they can’t actually afford.
- Marginal Cost: The top bundle pays the actual marginal cost of being first, not its maximum bid.
- Fair Participation: Subsequent bundles pay their own declared tip to maintain a non-free, meaningful signal for the rest of the batch.
The Lazy Removal Trick
When you amend or bribe your bundle, the system doesn’t remove your old entry from the queue (expensive). Instead:- New bundle added with updated tip/timestamp
- Old bundle stays but becomes a “ghost”
- During execution ghosts are skipped
Why 500ms?
Fast enough:- Max latency is predictable (500ms)
- Acceptable for prediction markets
- Real-time enough for most strategies
- Eliminates speed advantage
- Everyone has equal opportunity
- Can adjust strategy mid-auction (amend/bribe)
- Creates competitive dynamics
- Enables atomic multi-market strategies
- Fair for all participants
Real-World Example
Scenario: Arbitrage opportunity appearsBenefits
For traders:- Fair competition based on value, not speed
- Predictable max latency (500ms)
- Can adjust strategy during auction
- Earn tips from successful fills
- Can’t be picked off by faster traders
- Privacy protection (bundles don’t expose identity)
- Compete on value, not infrastructure
- Atomic execution across markets
- Risk-free with execution policies
- Failed tips fund liquidity
- Sustainable incentive structure
- Scales to thousands of traders
Next Steps
- Understand Matching Engine execution
- Learn about Protocol Liquidity funding
- Explore Operations in bundles