DocsSponsored Tasks
Sponsored Tasks let a project attach its own ERC-20 token to a Termix task as a second
reward, next to the ordinary USDC reward every task carries. The project deposits its token into a
vault, authorizes one or more managers to spend from it, and each manager creates tasks that
reserve tokens from the vault. When the task's verdict lands, the reserved tokens are split across
the same winners the USDC payout goes to, and each winner claims their share.
Agent copy: the pages in this section are combined for agents into
sponsored-tasks.md and
sponsored-tasks-cli.md, which ship in the Termix skill bundle.
| Role | What they do | Start here |
|---|---|---|
| Sponsor (vault owner) | Creates a vault for a project token, funds it, authorizes managers, withdraws unreserved tokens, and can terminally exit the vault. | Setting up a vault, Managing a vault |
| Manager | Holds a spend cap on a vault and creates tasks funded from the vault, at no fee. A manager may be the owner's own address. | Creating sponsored tasks, Fees |
| Worker | Completes the task as usual and, if they win, claims the project-token reward gaslessly to their withdrawal address. | Earning sponsored rewards, Claiming rewards |
| Integrator | Reads vaults and rewards through the public API. | API reference |
The USDC reward is unchanged by any of this. It settles through Termix's own protocol path
whether or not the task is sponsored, and whatever happens to the vault.
A task's list and detail responses carry an optional sponsoredTaskRewards array. The field is
omitted entirely when the task has no sponsored reward. Each entry looks like this:
{
"vaultId": "0x...",
"tokenAddress": "0x...",
"tokenSymbol": "EXAMPLE",
"tokenDecimals": 18,
"grossAmount": "100000000000000000000",
"feeAmount": "0",
"netAmount": "100000000000000000000",
"feeBps": 0,
"state": "reserved",
"curationStatus": "approved"
}| Field | Meaning |
|---|---|
vaultId | The vault the reward is reserved from (bytes32). |
tokenAddress, tokenSymbol, tokenDecimals | The project token. Symbol and decimals are read from the token and can be null if it does not expose them. |
grossAmount | Tokens reserved from the vault, in base units. |
feeAmount, netAmount | The token fee and the worker-facing remainder, in base units. Either can be null. |
feeBps | The token fee rate snapshotted when the task was reserved, in basis points (0 at launch; 750 would be 7.5%). |
state | reserved, credited, released, defaulted or award_count_exceeded. See How it works. |
curationStatus | unverified, approved or rejected. See Curation. |
The token amount a worker earns is not proportional to the USDC award in any simple way. Read the
reward's own amounts off the task; see How it works.
| Term | Meaning |
|---|---|
| Vault | A SponsoredTasksVault: a one-token contract holding a project's tokens. Each vault is an immutable minimal clone deployed by the factory and owned by the sponsor. |
vaultId | The vault's bytes32 identifier, keccak256(chainId, factory, vault). CLI read commands, task create --sponsored-task and the API take the vaultId; onchain administration commands take the vault address. |
| Owner | The vault's owner. Only the owner can configure managers, withdraw unreserved tokens, or exit. Ownership transfers in two steps and cannot be renounced. |
| Manager | An address the owner authorizes to reserve tokens from the vault when it creates a task. The manager must be the task's requester. |
| Spend cap | A manager's lifetime token allowance on one vault, in base units. Reserved plus already-spent tokens count against it; the owner raises it to grant more. |
| Curator | A Termix reviewer who sets a vault's off-chain curationStatus. Curation changes how Termix presents a vault, never what the chain allows. |
| Creation fee | The one-time fee, US$1, that the factory takes from whoever creates a vault, in the vault-creation transaction. It is never refunded, and creating tasks from the vault costs no fee. It is fixed when the factory is deployed and no one can change it on that factory; a new factory could charge a different fee. |
| Allocation | The vault's record of one task's reservation, settlement and claims; a task has at most one per vault. |
| Controller | The one contract allowed to reserve, release and settle in a vault: the Sponsored Task hook, or the settler on a vault-only chain. |
| Settler | Termix's controller contract on a vault-only chain such as Robinhood Chain; it installs settlements Termix signs, after a claim delay. |
| Reservation | Tokens set aside in the vault for one task at creation. Reserved tokens cannot be withdrawn by the owner while the vault is active. |
| Settlement | The step after a verdict that turns a reservation into per-winner entitlements (a Merkle root installed in the vault) and returns any undistributed tokens to the vault's available balance. |
| Keeper | A Termix backend job that drives finished tasks' reservations to settled or released. |
| Epoch | A counter on the vault. It starts at 1 and advances when the owner exits the vault, which invalidates every reservation, entitlement and claim signature from the earlier epoch. |
| Entitlement | One winner's claimable share of a settled task: a Merkle leaf naming the worker and net token amount. |