ERC-8414: Token-Bound Task Tenders

Thanks Ted, exactly the numbers I needed. 14,028 peak / 18,028 cold against the fixed-award fixture gives the 100k constant roughly 5× headroom, so 100k stays as the v2 draft constant for now and I’ll record the measurement in §4 of docs/v2-admission-slot.md. As you note, the sealed-bid / ERC-8436 path needs its own figures before the constant is final; I’ll mark it as pending in the doc rather than guess.

On size: noted that the tests add no runtime code and that the legacy mint overload alone accounts for ~2.7k. I’ll take a position on dropping it in v2 when I review task-token-standard#6 this week, and summarise the outcome here.

Status note on the admission-slot prototype (ROADMAP candidate 3).

task-token-standard#6 by @ted0x implements the v2 design draft posted in #37 — immutable slot set at mint, bounded STATICCALL admission before reservation, fail-closed on every malformed return — and adds a measurement harness. I have reviewed it and reproduced the numbers: 110/110 tests; runtime 22,919 bytes with both mintTask overloads and 20,225 with the legacy seven-argument form removed; policy gas 18,028 cold / 4,028 warm on the winner path and 765–4,983 for refusals against a fixed-award policy, which gives the draft’s 100k constant roughly 5× headroom.

Two things follow for the thread. First, the prototype will not land on main for now: main mirrors the v1 kernel and assets under editorial review in ethereum/ERCs#2005, and the admission getter necessarily changes the ITaskTender identifier, so it belongs to a v2 revision taken deliberately after v1 clears review. The PR stays open as the reference prototype and the record of its measurements. Second, two inputs are still missing before v2 can fix its constants: cold admit measurements for a sealed-bid award policy and for an ERC-8436 policy against the 100k budget. @shentonyan, the prototype is the thing to adapt the sealed-bid policy against for that number.

Thanks Ted for turning the design draft into something measurable.

Reviving this thread because I really want to see where this standard is heading lately. With L2 gas fees being much lower now, handling these tender lifecycles directly on-chain feels a lot more practical than it used to be. Has anyone tested how well this setup plays with decentralized arbitration protocols like Kleros, or are most people still leaning toward multisig fallbacks for handling potential job disputes?

Not with Kleros specifically, and dispute resolution is deliberately outside the kernel — the text says so explicitly. What the kernel does give you is one slot, the acceptance authority, and that slot is an address: an EOA, a multisig, a K-of-N panel contract, a DAO executor, or an arbitrable proxy in front of a court like Kleros are all valid holders, and the kernel does not know which it is looking at. The Sepolia cases already cover the committee end of that range — case 5 is judged by a 2-of-2 JuryPanel contract (release 1 accepted at quorum and split 50/30/20, release 2 rejected on committee timeout) — and case 7 uses the machine path with no judge at all.

Two things matter if you put an arbitration protocol in that slot. First, judgmentWindow has to be long enough for the court’s ruling cycle, because a submission that is still pending when the window closes pays the fulfiller by default via claimUnjudged; the kernel resolves silence in favour of delivered work, which is the opposite of a stalled K-of-N vote. Second, the kernel only needs the ruling to arrive as one acceptFulfillment or rejectFulfillment call from the authority address, so the proxy is thin.

Dispute procedure as a first-class object — terms bound to the task, evidence windows, attestor quorums — is what the companion draft ERC-8471 is for; multisig fallbacks are what people reach for today, but they are a choice of authority, not a kernel feature.

Added a real ERC-8469 posted-price path to PR #6 (88be6c3): admission uses 32,879 gas cold / 8,879 warm. All 125 tests pass. Keeping it as a v2 draft; ACDF still needs its own measurement.