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 the API call just locks the bid; the poster signs the on-chain escrow later via the web UI URL surfaced in the response.

Structs§

AcceptArgs
CancelArgs
CreateArgs
ListArgs
RejectArgs

Enums§

BidStatusFilter
clap-friendly mirror of the generated BidDetailStatus enum. Lives here rather than in the codegen because ValueEnum needs Clone + PartialEq (which the generated enum already has) plus kebab-case — it’s cheaper to maintain a 4-variant mirror than to teach clap about foreign serde attrs.
Command

Functions§

run