Why anything here is worth a stake
“Autonomous learning machine” is a claim no contract can keep on its own. So this builds the part a chain actually can hold: a market for models that is settled by held-out data, not by opinion.
A submitter commits to a model and stakes. The data every submission will be scored against exists on chain only as a hash, so nobody can fit to it. When scoring opens, the preimage is published and anyone may run the model themselves and post a score with the input/output pairs they used. A disagreeing scorer posts a contradicting score; the contradiction freezes the submission and, when the dispute resolves, the side with less bonded wei is slashed.
That is the same shape that makes a price trustworthy when there is no oracle: nobody adjudicates, people put money behind an assertion, and being wrong costs more than being quiet. A submission nobody scores is refunded — it is never ranked by default and never treated as a zero.
This page is a notebook. The cells below actually run, in your browser, against the same arithmetic and the same bytes the contract uses. The contract function each one mirrors is printed beside it.
Commit a submission
Datasync.commitmentOf(uint256,address,string,bytes32)This is the exact 160-byte preimage the contract hashes. Note that your address is inside it: a commitment lifted off the mempool cannot be claimed by someone else.
Sealing the data, not the model
The model may be revealed early and it does not matter. What must not leak is the challenge set: the held-out pairs every submission is judged on. If a submitter can see them before submitting, the whole market collapses into fitting, and the chain has no way to tell a learned model from a memorised answer key.
So an epoch is opened with the challenge set as a commitment, and scoring cannot start until somebody publishes the preimage that matches it. Anyone holding the preimage may do that — it is not an owner's privilege. If nobody does before the window closes, the epoch is abandoned: every stake and every contribution is refunded and nobody is slashed. Withholding the data costs the withholder the task and costs everyone else only time.
Seal the challenge set
Datasync.challengeHashOf(uint256,string,bytes32)Same construction, different domain word, so a submission commitment can never be replayed as a challenge seal. The cell also hashes a one-character variant of the URI, to show that swapping the data after the fact moves the commitment.
A score is worthless without its evidence
“0.84” on its own is an opinion. What the contract stores alongside a score is an
evidenceHash, which binds the number to the challenge set it was computed
against and to the exact input/output pairs the scorer fed the model. A scorer who
will not name its pairs cannot post.
The chain never checks the pairs — it cannot, it would have to run the model. What it does is make the claim specific enough that a contradicting scorer can reproduce it, find the lie, and take the liar's bond. That is the entire mechanism: the chain makes a lie legible, and the market makes it expensive.
Hash the evidence
Datasync.ioLeafOf · ioPairsHashOf · evidenceOf
One line per pair, input → output. Each becomes a leaf
keccak256(abi.encode(keccak256(input), keccak256(output))); the leaves fold into
ioPairsHash, which folds with the challenge commitment into the
evidenceHash you would post.
How a pot is divided
Anyone may fund an epoch's pot, at any time before it settles. When the dispute window has
run, settle sums the scores of every submission that is still in the
Scored state, takes SINK_FEE_BPS = 250 (2.5 %) for the fee sink, and
divides the rest pro rata to score.
Three things never happen. A submission nobody scored is not given a zero — it is refunded. A frozen submission is not ranked at its disputed score — it is refunded too, and the scorer who lied about it is the one who pays. And the fee is not taken at all if a pot never settles with a verified score: an abandoned epoch costs its funders nothing.
The division below is the contract's own, floor for floor, including the wei that falls out of it. The numbers are whatever you type — this is an example, not a leaderboard. There is no leaderboard, because there is no deployment and no epoch has ever been opened.
Split a pot
Datasync.previewSettle(uint256,uint256[])
Every row is floor(net × score / Σscore), exactly as the contract computes it.
The leftover is named dust and credited to the fee sink in the same transaction —
it is never left in a corner of the ledger.
The slash, and what it is honestly worth
Sides in a dispute are weighed by bonded wei, not by headcount — a crowd of
empty wallets cannot outvote conviction. The minority loses SLASH_BPS = 7000, so
70 % of its bonds. Not all of it: a scorer who ran the model honestly and landed on a
different number should be punished, not erased.
What is taken splits 6000 / 3000 / 1000 — to the majority pro rata to bond, to the epoch pot so the funders are made whole, and to the fee sink. A tie by bonded wei slashes nobody and ranks nobody: the chain cannot break a tie honestly, so it does not pretend to.
And the uncomfortable part, said here rather than buried: a contradiction freezes a
submission for three days even when the contradictor is lying. That is a denial of
service, and all Datasync does is price it at ATTEST_BOND × SLASH_BPS = 0.014
ETH per freeze. It is priced, not prevented.
Run the slash waterfall
Datasync.previewSlash(uint256[],uint256[])
🔴 Minority bonds go in one by one, because the contract floors each bond's cut
separately. floor(Σ) and Σfloor are different numbers, and
a contract that uses one in the accounting and the other in the payout ends up a wei short on
the last withdrawal. Try three bonds of 1 wei and watch the slash come out zero.
Where the token would live, and why it does not yet
Stockereum is a real
Ethereum launchpad. Its own token, STOCKER, answers factory() with
one address, and so does every token the pad has ever minted — which makes that single getter
a membership proof that needs no list, no governance and nobody to ask.
Reading it properly turned up something the pad does not advertise loudly: Stockereum opens
its Uniswap v4 pools against tokenized equities. The last launch was paired
against TSLAon, “Tesla (Ondo Tokenized)”, at a signed price of $354.08. That is
why the opening valuation is denominated in dollars and why the quote price has to be
attested rather than read from a pool.
It is also why there is no DATASYNC token. A launch needs a fresh EIP-712
QuotePrice signed by the pad's own signer. Nobody outside the pad can produce
one, and the factory says so itself: sign with any other key and it reverts
BadPriceSignature(). Stockereum is not permissionless, so the fee sink
ships unarmed — see Anchors for every one of those claims
read live off mainnet.
Recompute the pad's PRICE_TYPEHASH
eth_call → factory.PRICE_TYPEHASH() · keccak256 in this tabThe user who commissioned this could not find the pad's launch selector or event. The typehash preimage below was recovered by brute force and is the keystone of the whole derivation. This cell reads the real value off Ethereum through the relay and hashes the string here, in your browser, so you can check it rather than believe it.
The gate on the fee sink
FeeSink.arm(token) is one-shot. It accepts a token only if that token's own
factory() returns Stockereum's factory and its
totalSupply() is exactly 1e27, which is what every
launch on the pad mints. Canonical WETH fails it. A tokenized stock fails it. The factory
itself fails it. A contract that lies about factory() would have to have been
minted by the real factory to say the right thing.
And even armed, buyback reverts NoPriceSource while there is no
quoter — it refuses to trade on a price it cannot read, and when it can read one it refuses
any minOut worse than 97 % of the quote, so a parallel pool with a punitive fee
and no depth cannot swallow it. Shipped state: unarmed, no token, no quoter, nothing
deployed.
Test membership of the pad
FeeSink.arm(address) — the same two reads
Paste any Ethereum address. This asks it for factory() and
totalSupply() on mainnet and tells you whether arm() would accept
it. Nothing is signed and nothing is sent.
What is not done
- Nothing is deployed, on any chain. No token exists. No pot has ever been funded.
- There is no leaderboard, no accuracy figure and no dataset on this site. If a number
appears, it is a contract constant named beside it or an
eth_callmade while you were looking. resolveweighs sides by bonded wei. That is a plutocracy of bonds, not a truth oracle — the same shape that makes a price trustworthy without an oracle, with the same failure mode.- A contradiction freezes a submission even when the contradictor is lying. Priced, not prevented.
- No model runs here. The site cannot evaluate a model, the contract cannot evaluate a model, and no future version of either will.
The full documentation names every constant with its value and its why, prints the exact bytes that are hashed, walks the slash waterfall, and lists what was verified on chain and what was not.