Pawl
The bench

Break it yourself.

This is the accrual engine, running in your browser, imported from the same module the API and the tests use. Mint desks, turn the wheel, take payouts — and then switch on the bug that every implementation of this gets wrong the first time and watch the books stop balancing.

The live ledger

reading the service…

And the same engine, in your hands
Base units to buy
Desks · 0

None yet. Mint one, then turn the wheel.

The books
Bought0.000000
Taken0.000000
Still owed0.000000
Carried0.000000
✓ taken + owed + carried = bought

Added up from every desk on every slot, against a total this component tracked separately. Nothing here asks the engine whether it is happy.

Rounds
0
Next tooth buys SPYx. Nobody chooses — the order is fixed.
01What to try
The backdating bug

Mint two desks, turn the wheel three times, then tick the bug on and mint a third. It arrives owed everything the first two earned — and the books go over by exactly what it was handed.

The dust floor

Mint fifty desks and buy a small amount. Each desk's share lands under the floor, every claim is refused, and nothing is lost — the entitlement keeps accruing because it is derived, not stored.

The carry

Buy 100 base units across 7 desks. Each gets 14, two units will not divide, and they are carried into the next round rather than given to whoever happens to be first in the array.

02What this bench is not

It is not reading a chain. Nothing has launched, so there is nothing on-chain to read. Every number here comes from the operations you performed in this tab, and it disappears when you reload.

What it does prove is the arithmetic — that this particular way of paying five thousand desks conserves what it bought, under any interleaving of mints, rounds and claims you can produce by hand. The test suite does the same thing four thousand steps at a time.

The numbers it runs on
Slots in the rotation11
Round fires when the pot clears0.100000000 SOL
Dust floor2000000 base units
Desk cap5,000
Read the mechanism →See what it buys
Rotation
reading prices…