The idea
Forty-two horses, one pot. The odds are a quotient, nobody sets them. The horse nobody backed wins.
One board, shared, whose state lives in a Uniswap v4 hook. Forty-two horses, numbered 01 to 42. You stake $HORSE on one of them. There is no bookmaker: all the money goes into one pot, and the odds of each horse are computed, not fixed. The race is measured in swaps on the pool, and when it reaches the post, the horse whose share of the pot was the lowest on average wins. Its holders share the pot.
The whole thing rests on a paradox every bettor knows without having said it: being right is worth nothing if everyone is right at the same time. That is not a rule we added. It is the arithmetic of the pari-mutuel, the mechanism invented by Joseph Oller in 1867.
The odds
The odds of a horse are the pot divided by what is staked on it. One division of two public numbers, shown with two decimals.
That one number is three things at once: a price, what one unit of exposure to this horse costs; an implied probability, since one over the odds is the horse's share of the pot; and a payout, what one unit returns if this horse wins. It is not set by anyone and it is not a prediction. The contract has no opinion: it divides.
There is no way to stake without diluting yourself. That is the founding constraint of the pari-mutuel, it is arithmetic, and no parameter can soften it. The favourite is the most backed horse: lowest odds, smallest payout, and here, the one least likely to win. The outsider is the least backed: highest odds, and the one that wins if it stays that way.
Who wins
The horse whose share of the pot was, on average over the whole distance, the lowest.
Not the odds at the post. The average, step by step, from start to finish. On a real racecourse the big money arrives in the last seconds, the odds collapse at the start, and the early bettors on a 40-to-1 outsider watch their payout fall to 12 without having done anything. Here that is useless by construction: a massive ticket on the last step changes almost nothing to the average of a horse that was ignored for 4,199 steps.
So to win, a horse has to have been the outsider for a long time, not for a second. Staking early is worth more than staking late, twice: the odds are better, and a ticket weighs on every step left in the race. And you want nobody to follow you. The day your horse becomes obvious, it stops being the outsider, and it loses.
When the two lowest averages are closer than one ten-thousandth, the board shows a photo-finish and settles on the share at the post. A carved rule, with no randomness, that will almost never happen.
The distance
A race is counted in swaps on the pool, not in minutes, not in blocks, not in dates.
The post is at 4,200 swaps at level one, and ten percent further every time the payout record is broken. The race on the board is at level three: its post is at 5,082. A nervous market runs short races and frequent payouts. A calm market runs a long race and a pot that grows. And a dead market pauses the race, it does not kill it: no ticket is erased, no average is distorted, and it restarts at the next swap.
Five moves
- 1Swap.Automatic, through the hook. Every trade on the pool moves the race one step and feeds the pot. The direction plays no part.
- 2Stake a ticket.Pick a horse, put $HORSE on it. Its odds fall for everyone, you included. A ticket staked early weighs on every step left.
- 3Withdraw a ticket.Allowed until the last step. The horse's odds rise back for everyone. But a withdrawn ticket is out of the race: it does not share the pot, even if its horse wins. Withdrawing is giving up.
- 4The post.Not a move. It happens inside the swap that reaches the distance. Nobody triggers it, nobody is paid to.
- 5Cash in.If your horse won, your part of the pot is yours to collect, weighted by your stake and by the distance your ticket carried.
The fee
Five steps, by the distance run. The same for a buy and a sell. Nothing else enters it.
The fee rises because the end is when the pot has to fill fastest: the outcome takes shape, attention is highest, and each step counts more than the first thousand. It is symmetric because the distance is a counter of events, and a counter does not know what a buy is. The liquidity providers' own fee is untouched; the two add up, and the total is shown as one number before you sign.
goes to the pot. Every trade on the pool grows the prize, even from traders who never looked at the board.
is burned. Nothing to a team. Two lines, the simplest split there is.
The pot and the levy
The pot is bigger than what the bettors staked. The levy is 15%, carved, and shown at the top of the board like on any racecourse.
A classic operator keeps about a quarter before the race starts, up to a third on some bets. Here it is fifteen percent, and the number sits at the top of the board, not in the terms. That is not a performance, it is the absence of a middleman. The pot is locked until the post: there is no function to open it, no vote, no manual call.
Holders of the winner share by stake times distance carried. A ticket staked at step 100 carried almost the whole race; one staked at step 4,982 carried a hundred steps. At equal stake, the first collects close to fifty times more.
What it cannot do
- 1It never refuses a swap.No condition, ever. The windows never close, and no action is ever blocked.
- 2It cannot stop a pool without the hook.Anyone can open one. Those swaps do not move the race and do not feed the pot, so the bypass only interests somebody who is not playing, and the leak shows at once: the distance would stop moving while volume shows elsewhere.
- 3It cannot change the levy, the fee steps or the split.Constants. No owner, no pause, no blacklist, no proxy.
- 4It cannot stop one player from backing several horses.It can only make them pay for each ticket.
- 5It cannot be sniped at the last block.No bonus to the swap that crosses the post, no bonus for noticing the arrival, and the average makes the last ticket almost weightless.
The flaw
This is a bet, and the word is the right one. Here is what that costs, with numbers.
horses lose their stakes. The pot of the losers is the payout of the winners. There is no other honest way to say it.
117 winning tickets out of 3,481. The other 97 lost their stake, and their money made the 243.92 for 1.
a closed economy, negative after the levy. Nothing comes from outside except the pool's fees.
Big payouts and rare winners are the same fact. The protocol cannot produce small payouts, because the winner is by definition the least backed horse, so the pot is by definition shared by few. Being right too visibly is losing: a strategy everyone knows stops winning the day it is known.
The vector that stays open
Someone who sees the end coming can stake on the horse leading the average, knowing a late ticket barely dents it. A free ride on the last stretch. It is bounded because that ticket still dilutes the payout, so it penalises itself, but it is real and it is named here.
And one thing that is not a flaw
A dead market does not end a race. Without swaps the board freezes, the odds stay, nothing happens. That is a pause, not decay. The protocol waits, and restarts exactly where it was.