THE TURN

One call does everything the wheel does. It collects, reads the pool, updates one number, and spends according to that number.

NO TIMERS. A TURN HAPPENS WHEN SOMEONE CALLS IT.

which way

deep reversereversestalledforward−1.00−0.60−0.200+0.20+1.00burns andsells a spokeburnskeeps the HYPEbuys rim and spokesangular velocity
The four directions of the wheel. The reading on any turn is limited to the range shown.

ONE TURN, IN ORDER

STEPWHAT HAPPENS
Collectthe creator fee of the coin's pool is collected into the hub
Collect spokesholder rewards are claimed on every spoke and stand coin
Collect rimthe rim position's fees are collected and added back to it
Pay caller0.5% of the HYPE collected is sent to the caller
Readthe pool's tick and depth are read from the pool manager
Blendthe reading is computed and blended into angular velocity
Spendthe hub spends forward, burns in reverse, or keeps its balance
Judgeany stand coin that has reached 64 turns is mounted or sold
Stepthe pool fee is lowered if rim mass has crossed a mark
Storethe tick after the wheel's own swaps is stored for the next turn

WEIGHT OF ONE TURN, BY RIM MASS AND CREATOR FEE COLLECTED

RIM MASS IN MONTRAINERTIA0.05 HYPE0.25 HYPE1.00 HYPE5.00 HYPE
00.2516.67%50.00%80.00%95.24%
25,0000.509.09%33.33%66.67%90.91%
100,0001.253.85%16.67%44.44%80.00%
250,0002.751.79%8.33%26.67%64.52%
1,000,00010.250.49%2.38%8.89%32.79%
2,500,00025.250.20%0.98%3.81%16.53%

TURNING A WHEEL AROUND, FROM +0.50, ALL SELLS, 0.25 HYPE OF FEES PER TURN

RIM MASS IN MONTRAPOOL FEETURNS TO REVERSESELL VOLUME, HYPETURNS TO DEEP REVERSESELL VOLUME, HYPE
03%19.6219.2
25,0003%219.2438.5
100,0003%438.5876.9
250,0002%8125.016250.0
1,000,0001%271,125.0552,291.7
2,500,0001%642,666.71355,625.0

ONE TURN WORKED THROUGH

QUANTITYVALUE
Angular velocity before+0.3100
Rim mass100,000 MONTRA
Inertia1.25
Creator fee collected, F0.50 HYPE
Hub share of volume, c2.6%
Volume behind the fee, V19.23 HYPE
HYPE to move the pool one tick, k0.04
Gross travel, g480.8 ticks
Tick change since the last turn−310
Reading, d−0.6448
Weight of the turn, a28.57%
Angular velocity after+0.0372
Directionstalled

NO SCHEDULE

Nothing in the contract reads the clock. There are no epochs, no daily runs and no cooldowns. The only counter is the number of turns, and a turn exists because somebody called it.

Trials on the stand are 64 turns long. Scores look back 64 turns. If nobody trades, nobody calls, and none of those counts advance.

READING THE POOL

The wheel is not attached to its pool. Montra's hook is. So the wheel cannot watch individual trades and has to work out what happened from two things it can see: the fees it just collected and the pool's tick.

The creator fee collected since the last turn tells it how much HYPE was traded, because the fee is a fixed share of volume. From the pool's current depth it knows how much HYPE moves the price one tick. Dividing one by the other gives gross travel: how many ticks the price would have moved if all of that volume had been buys.

The tick itself tells it what actually happened. The change in tick since the last turn, divided by gross travel, is the reading. It is limited to the range −1 to +1.

THE BLEND

The running number is moved toward the reading by the weight of the turn.

V = F / c
g = V / k
d = clamp( Δt / g, −1, +1 )
I = 0.25 + M / 100,000
a = F / ( F + I )
ω' = ω + a × ( d − ω )

F is the creator fee collected this turn, in HYPE. c is the hub's share of volume at the current fee step. k is the HYPE needed to move the pool one tick. Δt is the tick now minus the tick stored at the end of the last turn. M is rim mass in MONTRA. ω is angular velocity before the turn and ω' is angular velocity after it.

Holder rewards from spokes are part of intake and are spent like any other HYPE, but they are left out of F. They say nothing about which way this coin is trading.

A turn that collects no creator fee has a weight of zero and leaves angular velocity where it was.

ITS OWN PUSH

A forward turn buys the coin for the rim and a reverse turn buys it to burn. Both move the tick up. If the next turn counted that movement it would be reading its own spending as demand.

So the tick is stored at the very end of a turn, after the wheel's swaps. The next reading starts from there.

FORWARD

At +0.20 and above the hub spends outward. After the caller is paid, 55% goes to the rim, 36% to the least funded spoke and 9% to the least funded stand coin.

If there is no stand coin its share goes to the spokes. If there are no spokes either, everything goes to the rim. A new wheel therefore starts by building rim and nothing else, until somebody nominates its first coin.

REVERSE

At −0.20 and below the hub buys the coin through its Montra pool and sends what it receives to the dead address, 0x000000000000000000000000000000000000dEaD. One turn may not push the pool more than 150 ticks. HYPE that does not fit stays in the hub.

At −0.60 and below the turn first sells its lowest scoring spoke and adds the proceeds to the burn.

Reverse turns never add to the rim and never buy a spoke. The only thing the wheel buys while selling is in control is its own coin.

THE DIAL

The wheel's angle is not stored. It is read from the pool: the tick now, minus the opening tick, divided by 6,932. That many ticks is one doubling of price, so each full revolution is the price doubling again from where the revolution began.

The wheel cannot be turned back past zero. Montra's hook does not let sells push a pool below its opening tick.