ERC-8469 Sealed-bid award mechanism for task tenders

Draft · Other · created 2026-10-27

Defines a procedure, used when multiple agents compete for a single task, where bids are submitted hidden and then revealed all at once, along with four pricing rules for determining who wins at what price.

Why it is needed

Various task-escrow standards define the procedure for posting a task, depositing a reward, and settling once it is complete, but they do not define who wins when multiple agents apply at once. ERC-8183 puts bidding outside its standard's scope and treats it only as an example, while ERC-8414 defers bidding to a separate add-on extension. As a result, each task market builds its own award logic, agents must relearn different bidding rules on every platform, and indexers have no way to know what an award even means or whether the price is fair. There is also no way to prevent manipulation where another participant sees a bid before it is revealed and underbids it.

What to implement

In depth

The four award pricing rules (normative mechanisms)

The spec defines four standard mechanisms based on bid amounts sorted ascending, b(1)≤b(2)≤...≤b(n), and a reserve price r. award.first-price awards the units lowest bids, each paid exactly the price it bid. award.vickrey is used only when units=1: the lowest bidder is paid the smaller of the second-lowest bid b(2) and the reserve price, or the reserve price if there is only one bidder. award.uniform-price awards the units lowest bids, all paid the same amount, the smaller of b(units+1) and the reserve price. award.posted-price awards the units bids that are at or below the reserve price with the earliest commit order, each paid exactly the reserve price; bidding a lower amount cannot overtake a bidder who committed earlier. Under all four rules, a bid above the reserve price is excluded from the award.

Seven conditions the award function must satisfy

IAwardMechanism.award must be (1) deterministic and must not read state, (2) every winner must be one of the bidders whose bid does not exceed the reserve price, (3) the payment price must not exceed the reserve price, (4) the same winner must not appear twice and the number of winners must not exceed units, (5) if a bidder lowers its amount with everything else equal, it must not drop out of the award (monotonicity), (6) when amounts tie, the bid committed earlier wins, and (7) the payment price must never be lower than the amount the winner itself bid. The mechanism contract must not be upgradeable and must not delegate its computation to replaceable code.

Pinning the target and content with targetRef and contentHash

targetRef is computed as keccak256(abi.encode(chainId, targetContract, targetId)); if targetId is a uint256, it must be left-padded with zeros to bytes32, and abi.encode must be used, not abi.encodePacked. contentHash is a hash pointing to the task content at the time the tender opens, that is, the task description plus the acceptance policy including payment asset, units, and verifier address, and it must be published in a specification or registry before bidding opens. The award price itself is not included in this specification. If the content changes, a new tender must be opened even for the same targetRef, and price-binding integrations must guarantee that the task content does not change between reveal and execution.

Tender lifecycle: commit, reveal, finalize, claim slashed

openTender reverts unless reserve>0, units≥1, commitDeadline is in the future, revealDeadline is after commitDeadline, and the mechanism can be confirmed via ERC-165 to support IAwardMechanism. commitBid is only possible within the commit deadline; the commitment must be keccak256(abi.encode(tenderId, msg.sender, amount, salt)), and it takes a deposit. revealBid requires submitting, within the reveal deadline, the amount and salt matching the commitment, and returns the deposit on success. Once revealDeadline passes, anyone can call finalize, and the contract re-verifies the result returned by the mechanism against the bids in commit order before storing it. If the result is empty the state becomes Void, otherwise Awarded, and both are terminal states that never change afterward. At this point, deposits of bidders who did not reveal are slashed and transferred to slashRecipient via claimSlashed.

Price-binding and allocation-only integration profiles

Every bid declares in advance, via integrationProfile, what the award means to the consuming standard. price-binding must satisfy both payment-binding, which pays out the award price as is, and execution-binding, which secures execution authority before the reveal deadline so that anyone can trigger execution for any valid award and neither the requester nor a third party can block it; in this case any of the four pricing rules can be used. allocation-only is the case where the consuming standard only uses the winner, and payment or execution remains at the consuming standard's discretion; in this case only award.posted-price may be used. Incentive-compatibility properties such as second-price awards (Vickrey) hold only under price-binding.

Authority boundary: an award is not authority

An Award by itself grants no authority over the target. Adapter code that carries an award to the target must not act with authority the target standard has not already granted, and may only designate a provider, fund a task, or initialize a reward if it is an authorized client of the target or holds explicit prior approval. An adapter without such authority can only verify that a conversion performed by an authorized party matches the stored award.

Execution guarantees for capacity-limited resources

For price-binding integrations where award execution requires an exclusive resource, such as a provider service slot, the resource must be reserved before the commit deadline and held until the target consumes it. The reservation must be bound to the bid contract and identifier, the provider, targetRef, contentHash, resource identification, quantity, and service window, and all bids competing for the same resource must use a shared accounting scheme. Checking availability only at execution time is insufficient, and capacity shortages must not be handled by later modifying the award result or quietly swapping in a different winner.

A proposal still in Draft stage

This ERC was written in October 2026 and is currently in Draft status. Draft refers to an early stage where details may still change through discussion and review, or where the proposal may stall and go no further if consensus is not reached.

Things to watch out for

Original ERC · ← ERCs