Tensile

A pool's fee tier, set only by a claim about its own ticks that nobody disproved.

What you are looking at: an Ethereum chain inside this tab, running the contracts fe build produced from examples/amm-fee, unchanged, on one year of a real Uniswap pool's ticks. No wallet, no network, play money. The same dispute on handwritten digits: the digit demo. Source: github.com/AbrahamPaulJ/tensile.

Keeper100 ETH
Watcher100 ETH
Arbiter contract holds0 ETH
Current claimnone
FeeOracle fee()not deployed
This tab is the blockchainstarting the EVM

A real pool's ticks, as the model never saw them. Pick a 24-hour window.

The pool's tick, test split. Click to pick a window.

Next window where the real tier is

Tiers of this window

The window

The 144 input bytes

Starting the EVM...

Nobody hands the contract its input. It builds it from ticks it saw.

A test pool answers slot0() with each real tick of the window in turn. Every 50 blocks, FeeOracle.observe() reads it and stores one byte: the move since the tick before, clipped to 127. The last 144 bytes are the model's input.

Feed the window's ticks through the contract

A fresh FeeOracle is deployed for each window, so it has seen nothing yet.

The rule, as the contract runs it


      

The input the contract built, against the page's bytes

A keeper claims the tier instead, with a bond.

The claim carries the input, every hidden value and the three outputs. The arbiter checks none of it now. Choose what the keeper says.

Tier to claim

What the network computesWhat will be posted
Tier
Layer 132 values
Layer 216 values
Outputs3 values
Inputthe oracle's 144 bytes

Layer 1, 32 values

Layer 2, 16 values

Outputs, one per tier

Anyone can check the claim. One neuron proves it false.

A watcher recomputes the claim layer by layer from its own committed vectors, then the tier. The first value that differs is the challenge to send. The watcher's arithmetic is the same integer rule in JavaScript, checked against the example's reference vectors and against the Fe bytecode by the page's tests.

The watcher's finding

No claim yet.
Try a different challenge yourself

Nothing here is gated by the page. Every refusal comes from the contract.

Gas in this tab: settling this, against running the whole network

What the contract does with a challenge

    Merkle proof of the neuron's weights

    After an hour unchallenged it is final. The oracle uses it only if it is about its own ticks.

    apply(id, end) rebuilds the window that ends at move end from the oracle's storage, requires the claim's committed input hash to be its hash, then asks the arbiter for result(id), which answers only for a final claim.

    Clock, claim and fee

    No claim yet.

    fee() now

    ?

    The check that refuses a claim about other bytes

    
            

    Every transaction so far, as mined in this tab

    WhoCallGasOutcome