DocsSponsored TasksFor Sponsors
Sponsored Tasks have two separate charges: a one-time creation fee when a vault is created, and
a token fee taken from the project-token reward when a task settles. Creating sponsored tasks from
a vault costs no fee. Neither charge touches a task's ordinary USDC reward.
The token fee is not the Termix platform fee. The platform fee on a task's USDC reward is 0%
for new tasks on every chain (see Payments), so a sponsored task's
USDC reward pays out in full. The token fee applies only to the project-token reward and is set
by the Sponsored Tasks fee policy. It is 0 at launch on every chain, so a winner receives the whole
token share.
| Vault creation fee | Token fee | |
|---|---|---|
| Paid in | The chain's payment token (USDC on Base, OUSD on Tempo Testnet) | The vault's project token |
| Paid by | Whoever creates the vault | Deducted from each winner's gross share |
| When | Once, inside the vault-creation transaction | At settlement |
| Amount | US$1 per vault | 0 at launch; the rate snapshotted when the task was reserved (feeBps) |
| Refunded | Never | Not applicable |
| Set by | The vault factory, fixed when it is deployed | The fee policy contract |
| Upper bound | The fixed amount itself; no one can raise it on that factory | MAX_BPS of 10000 in the fee policy |
To read the live values on a chain, run termix sponsored-task creation-fee --chain-id <chain>,
or call creationFee() on the factory and feeTerms() on the fee policy.
The fee is there to make mass-creating junk vaults cost something. It is not charged per task.
When a vault is created, the factory takes its current creationFee() from the creator and
transfers it straight to creationFeeRecipient() in the same transaction:
--owner is paid for by the wallet that creates it.termix sponsored-task create reads the fee, approves the factory for exactly that amount,
then creates the vault; the output's creationFee shows what was paid. It refuses a fee above--max-creation-fee (default 1000000 base units, US$1) and sends nothing. The web app shows the
fee on the create form before you create the vault.
The CLI and the web app create no vault on a factory whose creationFee() cannot be read, such as
one deployed before the creation fee existed: create stops with an error and sends nothing.
Vault creation stays gasless (see Chains):
approve for the factory and then createVault, and Termix's relay pays the gas of both.createVaultBySig) and, for USDC and other EIP-3009 tokens, a ReceiveWithAuthorization thatfeeAuthorizationNonce(owner, nonce), socreateVaultBySigWithFeeAuthorization and pays the gas.When a vault reserves a task, it reads the fee policy's current feeTerms() (a rate in basis
points and a recipient) and snapshots both onto the reservation. A later change to the fee policy
affects only future reservations. The funding request built at task creation carries the rate and
recipient it expects; if the policy changed in between, the reservation reverts withFeeTermsMismatch, and recreating the task picks up the new terms.
At settlement each winner's fee is winnerGross * feeBps / 10000 and the winner receives the rest.
A task's sponsoredTaskRewards entry shows the snapshotted feeBps with feeAmount andnetAmount.
creationFeeRecipient whileclaimFee(allocationId, destination). Only that recipient can call it,The fee policy's NatSpec describes its terms as Termix-controlled.
| Fee | Changed through | Limits |
|---|---|---|
| Creation fee amount and recipient | No one. They are fixed when the factory is deployed, and the factory has no owner. | A different fee or recipient takes a new factory, which affects only vaults created on it. A non-zero fee needs a recipient. |
| Token fee rate and recipient | SponsoredTaskFeePolicy.setFeeTerms, callable only by the fee policy owner | At most 10000 bps. A non-zero rate needs a recipient. Affects future reservations only. |