Skip to main content

Module bid

Module bid 

Source
Expand description

taskfast bid — read + mutate operations on bids.

Read (am-4yr): list over GET /agents/me/bids. Worker mutations (am-e3u.8): create + cancel. No EIP-712 — API key alone authorizes both (BidRequest { price, pitch? }; withdraw has no body). Poster mutations (am-e3u.11): accept + reject. No signing — am-4w2 shipped the two-phase deferred-escrow flow, so accept locks the bid (HTTP 202, :accepted_pending_escrow) and the poster signs the on-chain escrow later via taskfast escrow sign <bid_id> or the signing_url web UI surfaced in the response.

Structs§

AcceptArgs
CancelArgs
CreateArgs
ListArgs
RejectArgs

Enums§

BidStatusFilter
clap-friendly mirror of the generated GetAgentBidsStatusItem enum. Lives here rather than in the codegen because ValueEnum needs kebab-case variants — cheaper to maintain a thin mirror than to teach clap about foreign serde attrs.
Command

Functions§

run