ERC-8414 A token standard that binds a task to its reward (Token-Bound Task Tenders)

Draft · Vaults & DeFi · created 2026-09-05

A standard that binds a task request, specification, acceptance criteria, and reward into a single ERC-721 token, depositing the reward in a vault dedicated to the token so it is released only once completion is verified or approved.

Why it is needed

Today, task bounties depend on centralized bulletin boards or platform escrow. The task wording can be silently changed even after work has begun, no one can verify whether the stated reward actually exists, and because acceptance criteria are not fixed in advance, judging can drift into subjectivity. There is also no record of exactly which version of the requirements a given completion satisfied, making disputes hard to prove. Display-only fields such as tokenURI are mere pointers that guarantee no integrity, so they do not solve this problem.

What to implement

In depth

Authority split into three

This standard splits the task token's authority into three: owner, update authority (updateAuthority), and acceptance authority (acceptanceAuthority). The owner only buys and sells the token itself via ERC-721 transfer, while updateTask, setTaskURI, freezeTask, and cancelTask can be called only by updateAuthority. The authority to approve or reject a deliverable resides in acceptanceAuthority: if this slot holds a contract implementing ITaskVerifier, it becomes 'machine judgment,' where anyone can trigger automatic settlement via settleFulfillment; if it holds any other address (a person, a multisig, a DAO, etc.), it becomes 'human judgment,' where only that address can approve or reject. Token transfer has no effect on either authority.

The vault's immutable rules

Each task token has its own unique vault account (vaultOf), and reward assets must reside in this vault. The balance can be queried by anyone (escrowBalanceOf), but no one, including the owner, update authority, or acceptance authority, can withdraw funds except through settlement or the reclaimEscrow path. Funds that come in via fundTask are recorded as refundable, while funds sent directly to the vault are treated as a 'donation' and are used for reward payment before refundable funds. The recommended implementation is a locked ERC-6551 token bound account with execution authority removed.

Tender terms fixed at minting

TenderTerms (reward asset, rewardPerCompletion, maxCompletions, submitBy, settleBy, epochLength, maxCompletionsPerEpoch, judgmentWindow) is fixed permanently once set at minting. To change the terms, a new token must be minted. epochLength and maxCompletionsPerEpoch must both be zero or both be nonzero; when nonzero, the token becomes a subscription-style faucet work token that keeps emitting rewards as long as the vault stays funded.

Submission reserves a slot and a reward in advance

Calling submitFulfillment records a result hash (resultHash) and the task version cited at that moment, which simultaneously reserves one completion slot and one reward share. The submission itself fails if the tender has been cancelled, the submission deadline has passed, the completion cap has already been reached, or the vault balance cannot cover the pending submission count plus one in rewards. This reservation lets the performer confirm the reward is actually payable before starting the work.

Two settlement paths: judged and mechanical

Completion approval branches two ways. The judged path is handled via acceptFulfillment/rejectFulfillment, which only acceptanceAuthority can call. The mechanical path uses settleFulfillment, usable only when the approval slot is a contract implementing ITaskVerifier; anyone can call it, and payment succeeds only after the contract confirms the proof via verifyFulfillment. Both paths change the state to Accepted, increment the completion count, and transfer the reward; if the recipient cannot receive the funds, settlement itself does not stall, the amount is credited via creditOf, and it can be withdrawn later with withdrawCredit.

The judgment deadline and automatic processing

At the moment a submission comes in, whether the approval slot is a verifier is snapshotted as machineSettled. If a judged submission receives neither acceptance nor rejection within judgmentWindow, anyone can thereafter call claimUnjudged to pay the reward to the performer as is, and the judge can no longer reject it. If a mechanical submission fails to produce a valid proof within the same window, anyone can call releaseExpired to free up that slot. This deadline applies independently of cancellation or the settlement deadline, preventing the requester from stalling a response to delivered work.

Epoch pacing: subscription-style work tokens

Setting epochLength and maxCompletionsPerEpoch to nonzero values turns the token into a faucet-style work token that behaves like a subscription service. For example, setting reward R, a daily period, one completion per period, and 365 total completions can represent a daily report subscription with a single token. This pacing applies only to settlement actions, such as acceptance, mechanical settlement, and automatic payment on expiry, not to submissions, and automatic payments triggered by expiry also do not exceed the per-period cap, queuing instead into the next period.

Cancellation and refund

The issuing authority can permanently cancel a tender via cancelTask, but any submissions already pending at the time of cancellation remain protected and subject to acceptance, rejection, settlement, or expiry-based automatic payment. Only after all pending submissions have been processed can the funder reclaim their proportional share via reclaimEscrow, and the token owner receive the remaining donated balance via reclaimResidual. This proposal is currently in Draft status, still under community discussion, and its details may change or be discontinued.

Original ERC · ← ERCs