Skip to main content

Module stake

Module stake 

Source
Expand description

taskfast stake <task_id> — operator posts a performance stake on a direct high-assurance task (gh#54, server #482 POST /tasks/{id}/stake).

Thin agent-key POST: with on-chain bond posting disabled (the current deployment default) the server records the bond and finalizes the assignment in-band, so there is no EIP-712 signing here — unlike escrow sign. When posting is enabled the bond is parked (status: awaiting_verification) and the operator submits the on-chain TaskBond.post tx out-of-band; that reporting path is tracked separately and is out of scope for this command.

--source external-backer authenticates as an approved backer and requires --wallet; the server enforces the operator’s backer allowlist.

Structs§

Args

Enums§

StakeSource
clap-friendly mirror of the generated PostStakeBodyStakeSource enum. Kept local (like bid::BidStatusFilter) so the codegen needn’t grow clap derives; kebab-case renders operator-self / external-backer.

Functions§

run